Advice fo encapsulated if alternative
Posted:
Sun Aug 24, 2014 11:29 am
by alverman
How can I fix this piece of code if I could use an if encapsulated?
If B_Panelxy_Click = 1 And AB_LR_Pos = 0
{
OpacityLiveDX{Fader45.Value,B_Img_W}
}
Else
{
If B_Panelxy_Click = 1 And AB_LR_Pos = 1
{
OpacityLiveSX{Fader45.Value,B_Img_W}
}
}
Thanks, Alberto
Re: Advice fo encapsulated if alternative
Posted:
Thu Aug 28, 2014 8:08 am
by alverman
Unfortunately, I settled with an alternative that complicates the future of editing code .... nothing special. As long as you do something with WD involving the use of nodes and checks everything is ok but when you start adding code scattered among the controls using the variables you enter into a total mess if after some time you try to make changes. The lack of a general editor of the application does not help.
Now I will try to do the same with vb.net application with the sdk. Should be more clear if the sdk and give you the opportunity to do all that wd, fatigue, allows you to do, I think WD, as it still is, it's just a complication.
Alberto