Hi,
I tried to compile the testbtnclr.prg example, however, I received a message about the presence of an unknown PickColor() function. Why?
FWH 23.07
Natter wrote:unknown PickColor() function.
@ 30,10 BTNCLR oBtnColor SIZE 45,25 of oDlg PIXEL COLORSEL nColor ;
ACTION (oBtnColor:nColorSel:= PickColor( nColor, oBtnColor),;
oBtnColor:refresh())
Natter wrote:Yes, I see. It just appears in the example as a public function, which is why I asked
Function PickColor(nColor,oControl)
local oPick
oPick:= TPickerColor():New(nColor,oControl)
oPick:Dialog()
IF oPick:Activate()
IF oPick:oDlgPickColor:nresult == IDOK
return oPick:nClrReturn
endif
Endif
RETURN NIL
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 73 guests