Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
josh
About
- Username
- josh
- Joined
- Visits
- 2,067
- Last Active
- Roles
- Member
Comments
-
btw, I am trying to initialize the tree control with our hierarchical data. We have 2200 nodes at the moment. Each node corresponds to a record in the table ORYX_WEB_MENU_DEF. The table has no fields, just a key, the structure of which is PARENT…
-
what does it sort by? The Data column or the key? I am guessing Data.
-
Hi, thanks for the explanation, but it's much faster. Have a look at the code: open "ORYX_CODES_REF" to oryx_codes_ref else debug Set_Property(tree_ctrl$, "OLE.Redraw", 0) clearselect eof = false$ rlist("SELECT ORYX_WEB_MENU_DEF BY PARENT…
-
Great thanks
-
Hi, you are right actually. I forgot about this, but in our system, the rlist function has been modified. I forget what was changed, but there could be yields in there. I will ask one of my coworkers. Ok, so in all likelihood you can't run 2 rlists…
-
ok, well i will have to test this further, as from what I can see, it is possible... But i trust you know more about this than me. The reason why i think it's possible is that when I call rlist, i can still interact with the form. The problem is tha…
-
"Selection does not go away" Visually it does, but you're saying that get_Property(tree_ctrl$, "OLE.SelectedItems") shoudl still contain what was selected before the button was clicked? I did not notice this. For me, that code returns an empty str…
-
Hi, I am using the AddItems method. But the unselection is happening as soon as I click the button, not after. Anyway, it's ok. I have decided to do this in another way which avoids this issue. thanks for your help.
-
@KevinFournier Hi, the problem with using selection is that, as soon as I press the Add button, the selection goes away.
-
yeah i agree, which is why you would think it would be the default behavior, but not in OI. In oi, it automatically goes to the next page, and you have to write some code to make it not do this.
-
@ausmarkb yes, I am trying to do exactly what you're doing. It's a program that lets the users schedule when somethign should happen.
-
ok, so just make the next property of the last contorl on a page go back to the first...that sounds simple. I will give it a try.
-
"Second method: Use a multi-page form and put those controls related to the radio group control on separate pages (i.e., one page per radio button). All other controls on the form should be set to All Pages so they are always visible. Then when the …
-
actually, don't worry. I was wrong. It does respond to the click event. all good.
-
I will have to use a timer event i guess..., which is pretty ridiculous.
-
hi, this doesn't work, as there is no click event associated with this control only a a gotfocus and lostfocus. Also, neither of these events tell you the new value. They contain the old value. Also, posting an event doesn't work, for reasons that…
-
@donbannke hi thanks, i just realised that i am reusing the the name report for another variable in an internal subroutine, so that must be what is messing it up. I will just change it to report_hashtable to avoid this. Silly me thanks
-
I will just have to record the value of the radio button on the click, event and then post an event that runs after the click event to check if the value has changed...lol
-
Thanks. Don't worry, it's not urgent.
-
Hopefully you can help me, but worst case, i just don't release the hashtable. Which isn't ideal, but doable.
-
You could use a drop down to switch between the two views?
-
Having columns would be useful.
-
@ausmarkb yeah, i have removed the black border, so not it looks like the user has just selected the row. If they want to edit a cell, they have to double click on it.
-
cool it works. thanks so much
-
ok, my rows are all blank (because the table is just a test table; the real table won't be blank). That must be why.
-
HI Kevin, thanks. The up down arrows aren't working for me, but since you say it is supported, then there must be something wrong with my code. I will have a look. I just wanted to make sure that I wasn't looking in vain for functionality that does…
-
Hi, i understand that I can achieve this behavior by writing some code, but I was just wondering however if there was a setting that did this automatically, as I imagine that this is a common use case. If there isn't that's OK. Thanks
-
Actually, i don't need this anymore. I have decided to use the edit table now...
-
I would also like to be able to sort by checkbox
-
Ok thanks, actually this won't work, as I am running into the same bug that I ran into last time (https://forum.srpcs.com/discussion/817/merge-not-working#latest) . Anyway, I have thought of yet another way to do this using the report table, finger…