Page 1 of 1

Error with tsbutton

Posted: Mon Jul 17, 2006 4:33 pm
by Silvio
tHERE IS AN ERROR FOR TSBUTTON BECAUSE WHEN I TRY IT THE PROCEDURE CREATE ONLY A BUTTON AND NOT LOAD THE RESOURCE WHY ?

Code: Select all

  @ Fila,(Col+nPassLarg) SBUTTON aBtn[n] Font oFont3 ;
                                 SIZE 30, 30 PIXELS  ;
                                 RESOURCE "OMB1","OMB2","OMB3","OMB4" OF oSpiaggia;
                               PROMPT aBtn[n] ;
                               NOBORDER  ;
                              MESSAGE oemtoansi("Free") ;
                              TOOLTIP oemtoansi(cCaption) ;
                              TEXT POSITION ON_BOTTOM   ;
                             ACTION bAction 

SOMEONE CAN HELP ME PLS

REGARDS

Posted: Mon Jul 17, 2006 4:44 pm
by Gale FORd
Is "OMB1","OMB2","OMB3","OMB4" in an .rc file you are linking into app?

Posted: Mon Jul 17, 2006 5:05 pm
by Silvio
YES

Posted: Tue Jul 18, 2006 8:09 am
by StefanHaupt
see my answer in the other tsbutton-thread

http://fivetechsoft.com/forums/viewtopic.php?t=3417