463 views
in Embedded Wizard Studio by

Hello Team,

      After I finished the devicedriver, I found a little problem 

 1.If I rotate the knob,This value will be change,But the Focus doesn't move it .for example:I change the Gain value,But the Green circle stiil display on SOURCE.

Is there any way to transfer the green circle to my adjusted object ?

2.If i use Value Display instead of Text,Can you make it look like text box display an array ?

Because I didn't find string attribute in this.

 

I  use text box display arrays is:

Application::Device.Gain = Sider.CurrentValue;

Knob.String = string( Application::Device.GAIN[Application::Device.Gain] ) ;

postsignal OnChange;

and is this replaceable??Or can I add an String attribute to the Value Display? 

 

Best regards,

Tonny

1 Answer

0 votes
by

Hello Tonny,

Concerning your first question, the focus is manged by Focus properties. As far as I remember you used this property already. When the user presses a key UP/DOWN you estimate the preceding or next widget and 'focus' it. Please see also the section Keyboard events and the focus path.

Concerning your second question, Value Display is designed to display numerical values. It is not intended to assign a string to it. Instead use the common Text view. By the way, compared with Value Display, Text views occupy less resources.

Best regards

Paul Banach

 

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...