Page 1 of 1
StatusBar Item on click Action - I want to change/define it
Posted: Sun Apr 12, 2009 1:57 pm
by mol
Hi guys!
I need to dynamically change/define click action on StatusBar Item.
Eg. - when I set filter I put information on StatusBar - "the filter is set" - but on click I want to display filter condition.
Best regards, Marek
Re: StatusBar Item on click Action - I want to change/define it
Posted: Sun Apr 12, 2009 2:23 pm
by Roberto Lopez
mol wrote:Hi guys!
I need to dynamically change/define click action on StatusBar Item.
Eg. - when I set filter I put information on StatusBar - "the filter is set" - but on click I want to display filter condition.
Best regards, Marek
There is no high level implementation for such thing, but you could try the following:
Code: Select all
cFormName := 'The Name of your form goes here'
i := GetControlIndex ( 'StatusBar' , cFormName )
_HMG_SYSDATA [ 6 ] [i] := abActions
'abActions' is a codebloc array with one element for each StatusBar item.
Regards,
Roberto.
Re: StatusBar Item on click Action - I want to change/define it
Posted: Mon Apr 13, 2009 4:58 pm
by mol
Many thanks, I checked it and it's really works!
Marek
Re: StatusBar Item on click Action - I want to change/define it
Posted: Mon Apr 13, 2009 5:03 pm
by Roberto Lopez
mol wrote:Many thanks, I checked it and it's really works!
Marek
Very surprising!
Regards,
Roberto.