U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » Static Ctrl Picture and .iml
Static Ctrl Picture and .iml [message #29739] Thu, 11 November 2010 12:41 Go to previous message
Daniel_Sun is currently offline  Daniel_Sun
Messages: 5
Registered: November 2010
Location: Hamburg, GER
Promising Member
Hey,

I'm back with another request.

My aim is to have some kind of pictures or drawings to indicate the status of different bits in a PLC, like LED's. Now the problem is to get those into my TopWindow and change them during runtime (e.g. Bit is 1 -> LED becomes green, Bit is 0 -> LED becomes gray).

If someone could just help me with how to put a selfmade picture or drwaing into my Layout.

Right now I'm at the point where I created an .iml File and added two images. Then I've put a User Class of type "Picture" (labeled picLED1) into my Layout. Now I'd like to assign one of the Images to the "Picture".
Trying something like:
picLED1 = MyImages::grayLED();

would'nt work.

What do I miss?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Changing compiler "on the fly"
Next Topic: Using U++ without UppIDE
Goto Forum:
  


Current Time: Tue Sep 22 20:26:15 GMT+2 2026

Total time taken to generate the page: 0.00552 seconds