Is there a way to change attributes of controls (e,g, label, colour) via a variable or via logic?
if not, do you think it would be worth while integrating? The only idea I have right now is an additional value element, which shows a variable, which I can change.
My present idea is to have a button field to recall the 100 light scenes with 2 x 10 button (actually it is 4 x 5) . One will be the register selection, and the other one the scene selection. So I want to change the labels in the scene buttons according to the type selected by the register buttons.
Regards Florian
Willkommen auf unserer neuen Forenplattform für das Bus-Profi Forum
Neue Felder für die persönlichen Daten
Man kann jetzt seine öffentlich einsehbare Daten genau bestimmen. Details findet ihr in in diesem Beitrag.
Durch die neue Forensoftware und die Portierung der Daten konnten die Passwörter aus dem alten Forum nicht übernommen werden, bitte lassen Sie sich ein neues Passwort über die Passwort vergessen Funktion zusenden. Sollte es zu Problemen kommen kontaktieren Sie das Bus-Profi Team per E-Mail.
Neue Felder für die persönlichen Daten
Man kann jetzt seine öffentlich einsehbare Daten genau bestimmen. Details findet ihr in in diesem Beitrag.
Durch die neue Forensoftware und die Portierung der Daten konnten die Passwörter aus dem alten Forum nicht übernommen werden, bitte lassen Sie sich ein neues Passwort über die Passwort vergessen Funktion zusenden. Sollte es zu Problemen kommen kontaktieren Sie das Bus-Profi Team per E-Mail.
Changing Control Attributes
-
Themenersteller - Administrator
- Beiträge: 5294
- Registriert: Mi 10. Jan 2007, 18:49
- Hat sich bedankt: 4 Mal
- Danksagung erhalten: 16 Mal
- Kontaktdaten:
#2 RE: Changing Control Attributes
Hmm. Do you think somebody will remember ten pages by ten buttons what scenes are there?
With normal titles by the buttons it would be much easier - then why not create few layers with buttons calling Logic script, that would send register change and scene load commands one after another.
Possibly what you need is the "exclusive" layers - this should go pretty fast, after I start doing it...
With normal titles by the buttons it would be much easier - then why not create few layers with buttons calling Logic script, that would send register change and scene load commands one after another.
Possibly what you need is the "exclusive" layers - this should go pretty fast, after I start doing it...
-
Themenersteller - Administrator
- Beiträge: 5294
- Registriert: Mi 10. Jan 2007, 18:49
- Hat sich bedankt: 4 Mal
- Danksagung erhalten: 16 Mal
- Kontaktdaten:
#3 RE: Changing Control Attributes
Hi Filip,
so I try to be patient. The exclusive layers sounds good. I hope you start doing them in a little while.
I don't think, anyone can remember 100 scenes, but we will have event types with 10 scenes. So they should be able to select an event-type (register) and see then the names for the 10 possible scenes. I think, this is more practical than having to know, at what times you need scene #1 or #6.
Regards Florian
so I try to be patient. The exclusive layers sounds good. I hope you start doing them in a little while.
I don't think, anyone can remember 100 scenes, but we will have event types with 10 scenes. So they should be able to select an event-type (register) and see then the names for the 10 possible scenes. I think, this is more practical than having to know, at what times you need scene #1 or #6.
Regards Florian
#4 RE: Changing Control Attributes
But that should be possible to do with Layers or multiple Screens. Only limitation is that scene names would be fixed, but on the other hand there is no way to enter names from Remote or Display anyway, so that should not be limitation. I'm just trying to understand why current design is limiting for you.
-
Themenersteller - Administrator
- Beiträge: 5294
- Registriert: Mi 10. Jan 2007, 18:49
- Hat sich bedankt: 4 Mal
- Danksagung erhalten: 16 Mal
- Kontaktdaten:
#5 RE: Changing Control Attributes
DOMIQ hat geschrieben:I'm just trying to understand why current design is limiting for you.
May be, because I don't see all the chances, which are in the design. I have been programming in Visual Basic a bit, and there changing controls is quite simple. So far I am far away from getting lua to do what I want it to do
Multiple Layers seems to be ok, but it should be the exclusive type, where selecting one layer would deselect the other one.
Multiple screens would most likely also work, but it would be rather redundant programming. I would need 10 separate screens which would be exactly the same, except the labels. A problem would be to jump from a different screen to the current selection. So my idea was to have a screen with scenes, highlight the used register by using a variable and changing the background color of the coresponding switch and renaming the labels of the scenes accordingly.
Florian
Zurück zu „Domiq-Module - DOMIQ Sp. z o.o.“
Wer ist online?
Mitglieder in diesem Forum: 0 Mitglieder und 16 Gäste