PDA

View Full Version : Hiding text box (user info)


jassing
02-11-2004, 02:14 PM
I tried the CONTROL_HIDE trick for checkboxes on a text box (user info screen) but it didn't work -- is there a way to hide a text box?

Adam
02-11-2004, 04:36 PM
Sorry Jassing I am not sure what you are asking. Please clarify and I will do my best to help you out.

Adam Kapilik

jassing
02-11-2004, 04:41 PM
you can set a checkbox varaible to CONTROL_HIDE or CONTROL_DISABLE this will hide (not visible) or disable the checkbox associated with that checkbox.

Now; On the "user information screen" -- i have 3 fields

Name
company
User ID

For "eval" versions we send out; i want that Userid field to not be there -- aka "CONTROL_HIDE" it; but setting it's variable to CONTROL_HIDE does not work.

is there a way to dynamic disable fields in the User info or other screens that involve text box type input?

csd214
02-13-2004, 01:15 AM
I haven’t experienced troubles with CONTROL_DISABLE and CONTROL_HIDE, but differently with TRUE/FALSE . Even with v6.0.1.3 I have had this situation: In the design windows I set the radiobutton to Checked, but its position isn’t saved and not reflected in the preview window. I have to change the default state in the preview window. But I can’t replicate it now…

If you DISABLE checkbox1, it will have it’s initial state (checked/unchecked). I can’t dynamically decide the status CHECKED/DISABLED at runtime.

If you first assign DISABLE to the checkbox variable and then assign TRUE, the checkbox (at runtime) will be checked and enabled.

Since Jassing has encountered another situation, there might be something odd with this screen?

Adam
02-13-2004, 02:44 PM
This is not possible using Setup Factory 6.0 as it stands. The CONTROL_DISABLE and CONTROL_HIDE options are only available on the 12 checkbox screen. This is the type of flexibility that we plan to add to future versions of Setup Factory.

For now Jassing you could create 2 screens and use a screen condition to show the appropriate screen.

Adam Kapilik

jassing
02-13-2004, 07:06 PM
thanks for the info -- that's what I did (two screens)
but then when "text changes" or before/after code--- it's just more mainteince (almost be good reason to have 'sub routines' located elsewhere that could be called ....)

Anyway; glad to hear it's in the works....

Thanks
-josh

csd214
02-14-2004, 02:06 AM
Sorry, Jassing talked about “checkbox tricks”, not checkboxes. Obviously Adam gave the appropriate answer.