Home » Developer & Programmer » Forms » How to exact alignment text item and its prompt? (oracle form 9i + winxp)
How to exact alignment text item and its prompt? [message #350396] Wed, 24 September 2008 23:14 Go to next message
kevin_ye
Messages: 37
Registered: December 2007
Location: Shanghai,China
Member
I have created 2 text item, and set their prompt.
on the design view, it looks like center horizontal alignment.
but when it runs, they don't exact alignment, the prompt is lower than its associated text item.

(1) if I let the prompt heighten the prompt a little, then it looks better when it run. Of course, it is not absolute center horizontal alignment.

(2) if i don't set the item's prompt, and add another label on the left side, choose the label and item, and choose "layout-->component-->horizontal alignment-->center".when it runs, it still looks not really horizontal alignment.

design view:
http://file.itpub.net/f/7852b0ddedf72768f5d51ac4a058d1ff/48db0fab/day_080925/20080925_9f124fcdc2c680dbb426ogtp1yMQXoHC.jpg/p/align1.J PG

running view:
http://file.itpub.net/f/626325bb3e34abfad36b0621d659677c/48db0fab/day_080925/20080925_0ee7a97ff803d8ce7a23fLqudlxYeHgo.jpg/p/align2.J PG

So can anyone tell me How to exact alignment text item and its prompt?
any suggestions appreciated

[Updated on: Wed, 24 September 2008 23:16]

Report message to a moderator

Re: How to exact alignment text item and its prompt? [message #350404 is a reply to message #350396] Wed, 24 September 2008 23:45 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Please post the images into your post. Many of us are blocked by our parent organisation from accessing online image sites.

Do you have grid turned on or off? Do you have snap to grid turned on or off?

Is this your first form?

David
Re: How to exact alignment text item and its prompt? [message #350415 is a reply to message #350404] Thu, 25 September 2008 00:24 Go to previous messageGo to next message
Littlefoot
Messages: 20896
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Quote:
Many of us are blocked by our parent organisation from accessing online image sites.

I did follow the link, but the page mostly looks like this:

./fa/5085/0/

Not very useful, eh? By the way, there were a few images (Donald Duck, some laptop advertisement, ...), but no form screenshot. I guess I could manage to make my browser display Chinese characters, but in vain - I don't speak Chinese, nor can I read it.
Re: How to exact alignment text item and its prompt? [message #350422 is a reply to message #350415] Thu, 25 September 2008 00:49 Go to previous messageGo to next message
kevin_ye
Messages: 37
Registered: December 2007
Location: Shanghai,China
Member
sorry, i don't know you cannot download.
i have upload the image, please download, thank you.
./fa/5086/0/
[EDITED by DJM: Inserted image into message body.]
  • Attachment: align.JPG
    (Size: 22.68KB, Downloaded 2107 times)

[Updated on: Thu, 25 September 2008 01:18] by Moderator

Report message to a moderator

Re: How to exact alignment text item and its prompt? [message #350431 is a reply to message #350404] Thu, 25 September 2008 00:59 Go to previous messageGo to next message
kevin_ye
Messages: 37
Registered: December 2007
Location: Shanghai,China
Member
I don't have grid turn on or off,
maybe the problem is the language set,
the image website is in my country.
any way, sorry again.
Re: How to exact alignment text item and its prompt? [message #350442 is a reply to message #350431] Thu, 25 September 2008 01:24 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
For each item, in its 'Property Palette', set the various attributes for 'Prompt'. Use the 'Layout Editor' for aligning item but not their prompt.

Remember that you can select more than one item at a time. Therefore, permitting you to set the attribute of more than one item at a time.

David
Re: How to exact alignment text item and its prompt? [message #350498 is a reply to message #350442] Thu, 25 September 2008 03:56 Go to previous messageGo to next message
kevin_ye
Messages: 37
Registered: December 2007
Location: Shanghai,China
Member
David, I have tried your suggestion, but unfortunately it stay the same problem.

when i enlarge the font size, not alignment between the prompt and the text will be easy to see.



  • Attachment: align2.JPG
    (Size: 18.45KB, Downloaded 230 times)
Re: How to exact alignment text item and its prompt? [message #350509 is a reply to message #350498] Thu, 25 September 2008 04:35 Go to previous messageGo to next message
Littlefoot
Messages: 20896
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Did you tweak Prompt properties? Tested what each of them does and how the form behaves?

./fa/5092/0/
Re: How to exact alignment text item and its prompt? [message #350662 is a reply to message #350509] Thu, 25 September 2008 18:34 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
LF, watch out for those 'offset' settings. They will trip you up more often than not.

David
Re: How to exact alignment text item and its prompt? [message #350702 is a reply to message #350662] Thu, 25 September 2008 23:40 Go to previous messageGo to next message
kevin_ye
Messages: 37
Registered: December 2007
Location: Shanghai,China
Member
thank you for your help.
I am new in form.
If i set "prompt alignment" property is center, then the horizontal alignment will be better.
Re: How to exact alignment text item and its prompt? [message #350878 is a reply to message #350662] Fri, 26 September 2008 16:25 Go to previous messageGo to next message
Littlefoot
Messages: 20896
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
djmartin wrote on Fri, 26 September 2008 01:34
LF, watch out for those 'offset' settings. They will trip you up more often than not.

David

In this particular form, I have moved the prompt a little bit away from the item as
a) there was enough place to do that
b) the form was much more pretty ./fa/917/0/
Re: How to exact alignment text item and its prompt? [message #356386 is a reply to message #350396] Thu, 30 October 2008 10:25 Go to previous message
gowrishgowda
Messages: 3
Registered: October 2008
Junior Member
Hi Littlefoot
This will be the best soloution regarding the allignment whcih you have posted on allignment questions
set the promt property likr this
1)Promt Justification: Start
2)Promt Attachment Top
3)Promt Aallignment Start
After this the label will go to top .Drag that label to the left side and allign it will be properley alligned.
Regards
Gowrish
Previous Topic: How to update oracle data into excel sheet (merged)
Next Topic: Problem with scroll bar
Goto Forum:
  


Current Time: Tue Dec 06 08:43:19 CST 2016

Total time taken to generate the page: 0.05965 seconds