on 11-05-2015 9:20 AM
Hello,
I am trying to make the VA01 screen a little more cleaner.
I was asked if it's possible to add material materials through 3 textfields, shown in the first picture. When you press add material, the material should add in the column and complete itself. This works if i use in my scripting cell[1]. But if i add another material, i get the error that the control was not found, since there's already a material in it. Can i somehow change this number to a dynamic number, in this case args.rows.
Thank you in advance,
Shana Weemaels
In VA01, below the "All items" table is a "Create item" button (second from left). This scrolls the table so that line 2 is blank, and you can then add your new material in line 2 of the table. This works even if there are no existing lines - adding the new material to line 2 while line 1 is blank is just fine.
Make sure you know your transaction well before trying to automate it - that can help a lot in keeping the scripting simple .
Steve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, so what i tried was set the value of the /colTABLECOLUMN[1]/cell[2] but when i add my third material, it crashes because it can't seem to find the control. When i press the add item button, it focuses on the last open row. So when i checked the recorded scripting it recoderd ..../colTABLECOLUMN[1]/cell[3] when i clicked the button. But i don't know if i can use this.
Do you have any ideas?
Kind regards,
Shana
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.