Subject: aligning en automatic boxfill
Posted By: hehe Post Date: 9/15/2006 6:01:10 AM
Hi all,

I got 2 questions and pardon my bad english.
1. I made a form and aligned every control with the label and still it is not aligned properly...is there another way to align a whole document?

2. I made 2 comboboxes one ask what kind of weather it is and the other should give advice depending on the weather.
So if the user adds "sunny" the second box should display the option "take the day off".
How can i make this happen?

Thnx and kind regards
Henny




Reply By: Squarecat Reply Date: 9/29/2006 4:30:13 AM
Hi Henny,

1. I'm not 100% sure what you're asking in the first question but I think you should look into using layout tables in your form, if you don't already.  This helps line up several columns etc and can be very useful for ensuring alignment.
2. With the second point you need to use rules in your second box:
Rule 1 - if FirstBox = "Sunny" second box should read "take the day off"
This can be accessed by double-clicking the second box and choosing rules.  Here you can change the content of one control based on the value of another.

Hope this makes sense and help with you issue.
Thanks

Reply By: hehe Reply Date: 10/3/2006 3:54:05 AM
Hi Squarecat,

Thnx for responding.
I will try to explain myself better.
I want to align all textboxes with the labels, and i did so by using the option "align control with label" in textboxproperties.
However they are still not perfectly aligned.
I also tried aligning the lable in tableproperties en cell and then centred them that also was better but still not perfect.

Where can i find the layout tables you speak of?

The second question explained is:
I have a pulldownbox with 20 options and the second box should give the matching sentence. Do i need to make 20 seperate rules then?
Or can i do it with XML files or something? If so could someone please give a small example?

Thanks
Henny


Go to topic 49967

Return to index page 158
Return to index page 157
Return to index page 156
Return to index page 155
Return to index page 154
Return to index page 153
Return to index page 152
Return to index page 151
Return to index page 150
Return to index page 149