Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Infopath
|
Infopath Programming and automation discussions only please. :)
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Infopath section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 15th, 2006, 06:01 AM
Registered User
 
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default aligning en automatic boxfill

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




 
Old September 29th, 2006, 04:30 AM
Authorized User
 
Join Date: Sep 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

 
Old October 3rd, 2006, 03:54 AM
Registered User
 
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
checkboxes not aligning with the labels in firefox Cyber Shiva HTML Code Clinic 1 August 30th, 2007 06:12 PM
Vertically aligning divs in Opera ceadge CSS Cascading Style Sheets 0 August 23rd, 2006 08:10 PM
Aligning Text in a Listview Control? xgbnow VB How-To 1 September 30th, 2004 06:37 AM
Aligning Text of a textbox mahulda General .NET 0 July 27th, 2004 12:16 AM
Error al registrar dll hecha en vb.net en el COM+. amantona ASP.NET Espanol 0 April 13th, 2004 02:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.