Posted: Wed Feb 27, 2019 11:10 am Post subject: Re: Like that?
Yanagod wrote:
function CEPanel1OnClick (sender)
UDF1.CELabel1.Font.Color= '0x0x07ff07'
end
Like that?
no '0x0x07ff07' end '0x07ff07'
Code:
p1.OnClick = function () ---function CEPanel1OnClick(sender)
if p1.Color == 0x000000, then
p1.Color = 0x07ff07 - clLime --UDF1.CEPanel1.Color=0x07ff07
else
p1.Color = 0x000000
end
end
--------------------------------------
In the form editing event:
Don't forget to give "OnClick" command.
Code:
function CEPanel1OnClick(sender)
UDF1.CEPanel1.Color=0x07ff07
end
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum