PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → hide/show controls
hide/show controls
Débuté par VanGelder_KJ, 17 fév. 2015 09:47 - 2 réponses
Posté le 17 février 2015 - 09:47
Hello,

I have a problem with correctly displaying my textbox controls.
I have several radiobutton controls and depending on the choiche of the radiobutton I want to show certain textboxes

this is what it should look like:




and if the user selects an other option it should look like this:




does anyone know how I can achieve this?
Posté le 17 février 2015 - 10:56
Hi,

in the code "when modified" of the radiobutton, you need to test for the
value, then use the ..visible and ..Y properties of the fields below to
make visible what needs to be visible, and to reposition the fields below

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

NEW: WXReplication, your open source replication system is available on
my web site!!!
WXShowroom.com: Show your projects!
More information on http://www.fabriceharari.com


On 2/17/2015 3:47 AM, VanGelder_KJ wrote:
Hello,

I have a problem with correctly displaying my textbox controls.
I have several radiobutton controls and depending on the choiche of the
radiobutton I want to show certain textboxes
this is what it should look like:





and if the user selects an other option it should look like this:





does anyone know how I can achieve this?
Posté le 17 février 2015 - 11:21
Ah thanks, changing the ..Y property was the missing link for me.

I can fix it now thank you!