checkbox, radio button

General discussion on Visual GLCD Software.
Post Reply
Author
Message
Nemena
Posts: 203
Joined: 07 Mar 2005 20:32
Location: Hungary

checkbox, radio button

#1 Post by Nemena » 19 Feb 2014 16:11

Dear everyone,

could someone explain or post an user manual, where checkbox, radio button usage is explained?
How can I check in the program whether the checkbox is checked or not?

What is this error message:
"11 356 Forward routine "CheckBox1OnClick" is missing implementation GLCDAmmeter_events_code.mbas"


I've tried this method on smartglcd,

Code: Select all

sub procedure RadioButton2OnClick()
      radioButton1.checked=0
      radioButton2.checked=1
      drawradiobutton(@radiobutton1)
      drawradiobutton(@radiobutton2)
end sub

sub procedure RadioButton1OnClick()
     radioButton2.checked=0
     radioButton1.checked=1
     drawradiobutton(@radiobutton2)
     drawradiobutton(@radiobutton1)
end sub
but part of the dot remains on the screen, could someone tell me how I can get rid of it?
20140220_135833.jpg
20140220_135833.jpg (5.46 KiB) Viewed 9603 times
Thank you in advance:
Peter

Nemena
Posts: 203
Joined: 07 Mar 2005 20:32
Location: Hungary

Re: checkbox, radio button

#2 Post by Nemena » 03 Mar 2014 09:03

any idea, from anyone?
Mikroe?
No one faced this phenomenon?

Nemena
Posts: 203
Joined: 07 Mar 2005 20:32
Location: Hungary

Re: checkbox, radio button

#3 Post by Nemena » 13 Mar 2014 09:31

@Mikroe:

Do you have a working radiobutton example for smartglcd v1.0?

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: checkbox, radio button

#4 Post by filip » 14 Mar 2014 09:10

Hi,

Please, can you attach here the minimal project that represents this issue ?

Regards,
Filip.

Nemena
Posts: 203
Joined: 07 Mar 2005 20:32
Location: Hungary

Re: checkbox, radio button

#5 Post by Nemena » 14 Mar 2014 13:46

Here you are:
try.rar
(146.44 KiB) Downloaded 481 times

Nemena
Posts: 203
Joined: 07 Mar 2005 20:32
Location: Hungary

Re: checkbox, radio button

#6 Post by Nemena » 19 Mar 2014 10:39

Could you please add your thoughts?
I ordered 3 new smartglcd modules for a project in which there are radiobuttons.
I can not live it like that.
Thank you

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: checkbox, radio button

#7 Post by filip » 27 Mar 2014 09:45

Hi,

I have presented the issue to our developers, they will fix this as soon as possible.

I apologize for the inconvenience.

Regards,
Filip.

Nemena
Posts: 203
Joined: 07 Mar 2005 20:32
Location: Hungary

Re: checkbox, radio button

#8 Post by Nemena » 31 Mar 2014 12:10

Thank you!

PIC007
Posts: 179
Joined: 28 Aug 2013 18:28

Re: checkbox, radio button

#9 Post by PIC007 » 28 Aug 2014 18:51

MikroE what is the answer on this March posting?

I too can not get checkbox working properly. This does not toggle the tick sign.

void S2_ChkBox_TPOnClick()
{
S2_ChkBox_TP.Checked = !S2_ChkBox_TP.Checked;
DrawCheckBox(&S2_ChkBox_TP);
// if(S2_ChkBox_TP.Checked)
// TP_Calibrate();
}

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: checkbox, radio button

#10 Post by filip » 29 Aug 2014 15:32

Hi,

This has been added to our bug list and should be fixed for the next version.

Regards,
Filip.

netsud
Posts: 6
Joined: 12 May 2011 02:35

Re: checkbox, radio button

#11 Post by netsud » 22 Jan 2015 11:01

There is any fix??????????? Please...

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: checkbox, radio button

#12 Post by filip » 23 Jan 2015 13:54

Hi,

I'm afraid there is no fix at this moment.
I apologize for the inconvenience.

Regards,
Filip.

yorgus
Posts: 5
Joined: 14 Jan 2015 12:25

Re: checkbox, radio button

#13 Post by yorgus » 01 Feb 2015 18:06

Hi Netsud,
Try in this way and let me know if you solved:

If Screen3RadioTempC.Checked = 0 Then
Screen3RadioTempC.Checked = 1
Screen3RadioTempF.Checked = 0
DrawRadioButton(@Screen3RadioTempC)
DrawRadioButton(@Screen3RadioTempF)
Glcd_Circle_Fill(Screen3RadioTempF.Left_ + Screen3RadioTempF.Height / 2,
Screen3RadioTempF.Top + Screen3RadioTempF.Height / 2, (Screen3RadioTempF.Height / 2) - 3, 0)
End if

Post Reply

Return to “Visual GLCD General”