[Gambas-user] code help

Rolf Schmidt rolf.frogs at ...221...
Sat Mar 5 16:54:22 CET 2005


Hi Neil


> IF Len(rsResult["answer"]) <4 THEN
> RadioButton3.Visible = FALSE
> RadioButto43.Visible = FALSE
> END IF

Try to do it the other way round:
- first set the buttons in the property menu to unvisible.
- write:
  If (len(rsResult["answer"]) >= 4 then
    radiobutton3.visible = true
    radiobutto43.visible = true
  endif

Perhaps you can find the mistakes you made before - or use the excellent 
debugger of gambas.

rolf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20050305/22bd6f53/attachment.sig>


More information about the User mailing list