Toolbox
Pages: 1 2
Steve Drain (222) 1620 posts |
That would be a good idea, but you can achieve it fairly simply by manipulating the underlying icon after the gadget has been created. DIM valid% 15:$valid%="R2;F17;L":REM new validation string SYS"Toolbox_ObjectMiscOp",,Window,68,Display,block%,256:REM icon list block%!4=!block%:REM only one icon in Display gadget SYS"Toolbox_ObjectMiscOp",,Window,0 TO !block%:REM wimp handle SYS"Wimp_GetIconState",,block% SYS"Wimp_DeleteIcon",,block% block%!32=valid%:REM point to new validation string block%!4=!block% SYS"Wimp_CreateIcon",,block%+4 |
Dave Higton (1515) 3534 posts |
Yes, but that’s not my point. The Toolbox was intended to make things easier, more direct, and to lift us up a level. For either solution that you’ve come up with (and kudos to you for doing so!), you just have to know the special sauce, for really a quite mundane requirement. I’ll continue to agitate for the tick box! And if not a tick box, at least being able to set multi-line via a flag bit. |
Jean-Michel BRUCK (3009) 362 posts |
Hi David, |
Pages: 1 2