btnbmp activated when selecting a record
Posted: Sat Mar 08, 2025 11:03 am
similarly to Cristobal's example barchange.prg that uses a buttonbar and some buttons, I would like to do the same thing but without the buttonbar i.e. I have 6 buttons under an xbrowse (the ones that start from the left)

and when I click on a record I would like to display only some of them, how could I do it?
perhaps I must use Newat of bar class But I not Know How make
I tried with
and it make this error

and when I click on a record I would like to display only some of them, how could I do it?
perhaps I must use Newat of bar class But I not Know How make
I tried with
Code: Select all | Expand
@ oBrw:nBottom+5, 5 BUTTONBAR oBar SIZE 90,200 BUTTONSIZE 90,24 OF oDlg
Code: Select all | Expand
Error occurred at: 03/08/25, 12:22:05
Error description: Error FiveWin/6 Cannot create window or control:
Class: TBAR
Caption:
System Error: Impossibile creare una finestra secondaria di primo livello.
Stack Calls
===========
Called from: .\source\classes\window.prg => WNDCREATEERROR( 898 )
Called from: .\source\classes\window.prg => TBAR:CREATE( 881 )
Called from: .\source\classes\bar.prg => TBAR:NEWAT( 500 )