Forum Replies Created
-
AuthorPosts
-
Bruce WalkerParticipant
Given you’re just concerned with the label, can you use the SYMB_MIRRORED test?
www.brucepwalker.com
https://www.mindmeister.com/65450406AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8MbBruce WalkerParticipantThanks Gergely and Dominika. I have managed to get it working now. For future reference for anybody with the same issues who may stumble across this post:
1. I had accidentally declared the ID variable the same in both objects (e.g. unID = 1). I changed the macro declaration to ensure the listfield ID was unique.2. I was using the tab[iTAB] = “” : iTAB = iTAB + 1 method to declare all my page titles. This works well with only one object, but with a macro, it gets too complicated (I found). So I swapped out the array for direct variables. Next time, I think I’ll just write the page title directly in the subroutine.
3. Each page needed a unique ID…in the order I wanted them to appear.
4. The call function needed to include “gs_ui_current_page = gs_ui_current_page”
Thanks again!
www.brucepwalker.com
https://www.mindmeister.com/65450406AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8MbBruce WalkerParticipantThat sounds like it may be coming in a future release?
www.brucepwalker.com
https://www.mindmeister.com/65450406AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8MbBruce WalkerParticipantHi Peter,
I opened the file again this morning, and the RESOL command is now working. Wasn’t yesterday…is today.
Thanks for that.
Cheers
www.brucepwalker.com
https://www.mindmeister.com/65450406AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8MbBruce WalkerParticipantThanks Dominika
www.brucepwalker.com
https://www.mindmeister.com/65450406AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8MbBruce WalkerParticipantThat’s awesome! I had a vague suspicion that this sort of thing could be done…now I know how!
Thank you Barry & Gergely…it is now working as desired. Much appreciated.
www.brucepwalker.com
https://www.mindmeister.com/65450406AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8MbBruce WalkerParticipantThanks Gergely. I have tried this method before:
1. Using the half-width parameter, the user can snap to what they want, but has to work out half the full width on the fly for a typed entry.
2. Using the full-width parameter, the user cannot snap to what they want, but is able to type in the width they want.I was hoping someone knew of a really clever parameter-swapping method that would deal with both these issues. That’s ok – it is what it is.
Cheers,
www.brucepwalker.com
https://www.mindmeister.com/65450406AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8MbBruce WalkerParticipantIs anybody able to offer advice on properly stretching around a centre point?
www.brucepwalker.com
https://www.mindmeister.com/65450406AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8MbBruce WalkerParticipantThanks Peter. I have used UI_INFIELD{3} before with text arrays, but am having trouble getting it working for integer arrays. I’ll keep persisting.
In the meantime, I cheated, and put a secondary OUTFIELD on top of the INFIELD to mimic what I want. It’s suitable as a workaround.
Cheers
www.brucepwalker.com
https://www.mindmeister.com/65450406AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8MbBruce WalkerParticipantThe code above didn’t display quite right, due to square brackets. Imagine the normal brackets below are actually square brackets:
UI_INFIELD{2} shelf_fixing(i), ui_x3, ui_y, ui_in_w1, ui_in_h1 UI_TOOLTIP "Shelf fixing"
Probably won’t make any difference, though.
www.brucepwalker.com
https://www.mindmeister.com/65450406AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8MbBruce WalkerParticipantUI_INFIELD{2}
This is the line:
UI_INFIELD{2} shelf_fixing[i], ui_x3, ui_y, ui_in_w1, ui_in_h1 UI_TOOLTIP “Shelf fixing”www.brucepwalker.com
https://www.mindmeister.com/65450406AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8MbBruce WalkerParticipantWhy are .gsm files prohibited on a GDL forum? Bizarre.
Attachments:
www.brucepwalker.com
https://www.mindmeister.com/65450406AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8MbBruce WalkerParticipantSo, I’ve worked on this further, and cannot get this particular object to behave the way I want. I have created a test object for demonstration purposes (attached). This object draws a main box, with a secondary box inside. I need to add dynamic hotspots to be able to adjust the dimensions of the secondary box…this is where I’m having trouble.
Refer attached .gsm
Any help would be appreciated.
www.brucepwalker.com
https://www.mindmeister.com/65450406AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8MbBruce WalkerParticipantThat’s an embarrassing oversight on my part. Thanks Barry.
Still trying to figure out my particular object…but I’ll work on it a bit more before asking silly questions again.
Cheers
www.brucepwalker.com
https://www.mindmeister.com/65450406AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8MbBruce WalkerParticipantGot it working – thanks Peter.
www.brucepwalker.com
https://www.mindmeister.com/65450406AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8Mb -
AuthorPosts