Displaying 1 result from an estimated 1 matches for "maximizeicon".
2006 May 31
3
FXLabel: ca''nt set the Icon attibute
Hi,
trying that:
aLabel = FXLabel.new(menuBar35,nil,@@maximizeIcon,0)
aLabel.icon = @@restoreIcon # ok
aLabel.connect(SEL_LEFTBUTTONPRESS) do |sender, selector, data|
case sender.icon
when @@maximizeIcon
sender.icon = @@restoreIcon
when @@restoreIcon
sender.icon = @@maximizeIcon
end...