Advice fo encapsulated if alternative

Moderator: Moderator Group

Advice fo encapsulated if alternative

Postby alverman » Sun Aug 24, 2014 11:29 am

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
PROService -IT
Intel i7 2600K LGA1155
MB P8H67-MLE 16GB
2xSSD 250GB
GTX470
Win 8.1 PRO
Manager STD V6.1
Player PRO V6.1
WDPro V5 2500
** La famiglia ti nutre, ti veste .... finchè non sei pronto per girare il mondo alla ricerca di qualcosa di tuo. **
User avatar
alverman
 
Posts: 562
Joined: Sat Jun 12, 2010 6:37 pm

Re: Advice fo encapsulated if alternative

Postby alverman » Wed Aug 27, 2014 7:10 pm

Solved
PROService -IT
Intel i7 2600K LGA1155
MB P8H67-MLE 16GB
2xSSD 250GB
GTX470
Win 8.1 PRO
Manager STD V6.1
Player PRO V6.1
WDPro V5 2500
** La famiglia ti nutre, ti veste .... finchè non sei pronto per girare il mondo alla ricerca di qualcosa di tuo. **
User avatar
alverman
 
Posts: 562
Joined: Sat Jun 12, 2010 6:37 pm

Re: Advice fo encapsulated if alternative

Postby JustynR » Thu Aug 28, 2014 2:54 am

What was the fix?
Justyn Roy
Toronto Ontario Canada
JustynR
 
Posts: 560
Joined: Wed Mar 25, 2009 1:33 am
Location: Toronto, Canada

Re: Advice fo encapsulated if alternative

Postby alverman » Thu Aug 28, 2014 8:08 am

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
PROService -IT
Intel i7 2600K LGA1155
MB P8H67-MLE 16GB
2xSSD 250GB
GTX470
Win 8.1 PRO
Manager STD V6.1
Player PRO V6.1
WDPro V5 2500
** La famiglia ti nutre, ti veste .... finchè non sei pronto per girare il mondo alla ricerca di qualcosa di tuo. **
User avatar
alverman
 
Posts: 562
Joined: Sat Jun 12, 2010 6:37 pm


Return to Widget Designer V4.7

Who is online

Users browsing this forum: No registered users and 15 guests