checkbox on ribbonbar

checkbox on ribbonbar

Postby Eoeo » Sat Jul 14, 2012 11:18 am

I made

@ 5, 7 ADD BUTTON oChk2 GROUP oGroup[1] BITMAP ".\bitmaps\checkon.bmp" MOSTLEFT SIZE 80, 45 PROMPT "Normale" ;
ACTION ( lNormale := ! lMultipla, oChk2:SetFile( If( lNormale, ".\bitmaps\checkon.bmp", ".\bitmaps\checkoff.bmp" ) ),;
)

@ 55, 7 ADD BUTTON oChk3 GROUP oGroup[1] BITMAP ".\bitmaps\checkon.bmp" MOSTLEFT SIZE 80, 45 PROMPT "Multipla" ;
ACTION ( lMultipla := ! lNormale, oChk3:SetFile( If( lMultipla, ".\bitmaps\checkon.bmp", ".\bitmaps\checkoff.bmp" ) ),;
)


I wish click on lNormale and make false the lmultipla ( as radiobuttons) how I cna make it?
User avatar
Eoeo
 
Posts: 222
Joined: Mon Jun 04, 2012 12:00 pm

Re: checkbox on ribbonbar

Postby lucasdebeltran » Sat Jul 14, 2012 11:36 am

Silvio,

Try VALID and WHEN clauses.
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
lucasdebeltran
 
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 97 guests