rsegal
13th May 2003 19:29 UTC
Installoptions and check boxes
Is there a way to specify different locations for a check box and its associated text? I know Microsoft Access can do this. Visual C++ and Visual Basic cannot which seems bizarre. I'm thinking it may be possible to do be sending messages tot he checkbox although I'm not sure what message I would send it exactly. Any thoughts would be appreciated.
Joel
13th May 2003 22:48 UTC
I don't understand.
You mean like this:
[X]Text --> Text[X]
(Normal) --> (Changed)
rsegal
14th May 2003 05:00 UTC
Not really. I'll explain my question with a bit more detail. When you create a check box you specify some text to be displayed beside the checkbox. The position of this text in relation to the checkbox cannot be changed in anyway, I think. Its position is defined by the size of the area you define for the check box.
I want to to be able to change the position of this text indepently of the position of the check box.
So maybe have something like this,
[X] (bunch of spaces here) Text
So that the text would not be positioned directly beside the check box.
Actually I just figured out a way you could do this. You could use a checkbox with no text and a label. This way you would have two controls whose position on the dialog could be modified independently.
Joel
14th May 2003 16:26 UTC
Is possible
Yep, is possible.
Check the attach image.
If it is, here is the code
that I use in the IO page:
[field 5]
Type=checkbox
Text=" Space"
Left=14
Top=101
Right=176
Bottom=155