|Maverick||60 exp||About 12 months ago|
First of all: I have run into some problems in 1.0.5 with radio-buttons not rendering until you tap them. Not sure if it's special about my form or a general bug (didn't have time to test it yet), but command buttons work well.
Besides that, feature request:
1. RadioButtons should be able carry text, so you dont always have to put an extra label near them (makes code big and less readable and editable).
2. RadioButtons are extremely hard to hit on a small display: they should at least have an option to be displayed in "toggle button" (wpf control) mode, so you dont have to use stylus to work with them.
It would be nice if you could fix that.
Code with the radio buttons problem:
private readonly RadioButton rbTypeSine = new RadioButton(20, 10, "Type", true);
private readonly Label lblTypeSine = new Label ("Sine", 35, 10);
private readonly RadioButton rbTypeSquare = new RadioButton(100, 10, "Type", false);
private readonly Label lblTypeSquare = new Label("Square", 115, 10);
private readonly RadioButton rbFreq10 = new RadioButton(20, 50, "Freq", false);
private readonly RadioButton rbFreq100 = new RadioButton(80, 50, "Freq", false);
private readonly RadioButton rbFreq1000 = new RadioButton(160, 50, "Freq", true);
private readonly RadioButton rbFreq10000 = new RadioButton(240, 50, "Freq", false);
private readonly Label lblFreq10 = new Label("10Hz", 35, 50);
private readonly Label lblFreq100 = new Label("100Hz", 95, 50);
private readonly Label lblFreq1000 = new Label("1kHz", 175, 50);
private readonly Label lblFreq10000 = new Label("10kHz", 255, 50);
private readonly RadioButton rbVpp76uV = new RadioButton(5, 100, "Vpp", false);
private readonly RadioButton rbVpp762uV = new RadioButton(80, 100, "Vpp", false);
private readonly RadioButton rbVpp50mV = new RadioButton(160, 100, "Vpp", false);
private readonly RadioButton rbVpp500mV = new RadioButton(240, 100, "Vpp", true);
private readonly Label lblVpp76uV = new Label("76.2uVpp", 20, 100);
private readonly Label lblVpp762uV = new Label("762uVpp", 95, 100);
private readonly Label lblVpp50mV = new Label("50mVpp", 175, 100);
private readonly Label lblVpp500mV = new Label("500mVpp", 255, 100);
private readonly CommandButton cmdStart = new CommandButton("Start", 10, 200, 140, 35);
private readonly CommandButton cmdReset = new CommandButton("Reset", 170, 200, 140, 35);
cmdStart.Tap += cmdStart_OnTap;
cmdReset.Tap += cmdReset_OnTap;
Thanks in advance,
|Skewworks||3,910 exp||About 12 months ago|
Are you calling TestSignalGenerator() before or after setting the form as active?
Each control should render the second it's added to the form, however activating the form also causes a general render, so if you're having an issue adding them before setting the form active should fix that for you.
For the feature requests, I will definitely look into it. We are currently working on a new product for NETMF devices that's slated to take over for both Spiral and .NET Clix.
If you want to upload full code for your project in a ZIP file here, or set them somewhere private and email me I can take a look into the render issue for you.
|Maverick||60 exp||About 10 months ago|
sorry for such a late answer, I was busy finishing hardware for my project and had to freeze the software development..
I'm still experiencing the problem with checkboxes. Can you give me an email I can send my project files to? It's not much ready yet but it should not be published anywhere here as it is a part of my bachelor thesis.