Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Function gButton

1 replies · 1,353 views · Started 17 March 2004

How can I read the result of a gButton Function and make an action ?

Expl: gButton "Button1",1,20,10,100,20,1

You can't.

gBUTTON is only a draw command.

You need to analyse events captured by GETEVENT32 ev$() and see whether any of those should apply to your button.

Check out any of the template eventloops for guidance, e.g. Ewan's.

cheers
Martin