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
-
You could "lazily" colour the rows. So catch the scroll event ,and fill in, say, 15 (or how ever many rows are visible) at a time. Example code for the SRP grid, but you could do the same thing for the OI grid lazy_load_images: // If the 2 are …
-
yeah I know about that. It would be good if you could then click a button to deploy the rdk to an environment. Anyway, that's what I will try to do.
-
It's not important. What is the Check Out tool?
-
as I have to deploy updates many times every day, this would save a lot of time.
-
The next feature will be to make the grid automatically scroll when the user has selected a cell in the last row and wants to keep going down...
-
grd_orders.OnMouseMove: cell = param1 button = param3 shift_button_down = param4 ctrl_button_down = param5 if button _eqc "left" then oryxctl_srp_grid_multiselect("update_selection_drag",grd_orders$,cell) end else Set_Property(grd_…
-
Actually, your approach does work. Thanks!
-
Actually, i don't think that will work...it's a bit complicated and It will take me a while to explain it .
-
Yes i just realized that lol "Now that I think about it, perhaps I can detect that directly. I will try that." I will see how to do that. Thanks
-
Basically, I only want the OnMouseMove event to fire when the left mouse button is down. Now that I think about it, perhaps I can detect that directly. I will try that.
-
So when you click on the cell with the black box around it and then drag your mouse to the right, all of those cells get selected. That's what I am doing:
-
Yes UP is relevant. I am trying to implement a function that allows the user to drag their mouse over a bunch of cells to select those cells. To do this, I use the onMouseMove event. And it works. However, the grid "flashes" sometimes, and I…
-
yes you can use it. There are a few things I haven't done yet though and one thing I won't do I wont: I won't implement the "white space operator". I.e., v = a b, as there is no reason to use this, and if you do use it , you've probably made a m…
-
I have uploaded the code to github. It has two analysers, on that that can detect unreachable code and one that can detect unassigned variables https://github.com/jgschis/BasicPlusParser I still need to clean up the code quite a bit and think of a …
-
after testing this, it seems like ! and != are the same...
-
I just tried to get the TIMER event working again when the screen is locked and it worked. I have no idea why it didn't work before when tried. Anyway, the reason why I mention this is that idleproc has the undesirable property that you can only h…
-
Another thing I found out which is actually quite useful: a = [1,1,3,4,5,10,11,12] is valid and creates an @fm delimited array. of the numbers in the square brackets.... i had no idea you could do that.
-
I also notice that the following is legal v = else*3 but the following is illegal v = 3*else clearly else cannot be used in an expression, and the fact that it works in the first case is a bug in their compiler.
-
it handles that correctly, as I treat return as both a keyword and an identifier. As you can see, both branches return a variable called return
-
ok that's good information, as my parser tries to return the variable else in the then branch. I will have to make it so that the else is treated as a keyword in this context and not as a variable name.
-
I recall someone saying that basic + is hard to parse, and yes I can see why. For some reason the basic + compiler allows you to use keywords as variable names, which is a very bad idea and leads to the following: if(a > 3) then a+=1 end…
-
I just successfully parsed a 2000+ line program. For example, here is an excerpt from the list of all of the top level statement in the program: You can drill down into each statement (all the way down to the level of variable, string, number, …
-
I see. Anyway, maybe I can kill the IE process. I will look into that
-
the actual problem is that an internet explorer widow is appearing over the top of OI, and the users hate having to move it out of the way. A simpler solution would just be to make that IE window not appear at all, which i will be able to do soon.…
-
it didn't work. it just flashes the oi icon in the task bar. I may be passing the wrong window handle though. I am passing the window handle of the main form (which contains the mdi frame).
-
Thanks i will try that
-
ok thanks. I am trying to create a parser for Basic +, so needed to know if I should include this behaviour. The goal is to create a better static analysis tool (catch more unassigned variable errors ,and to warn about unreachable code.) So far i…
-
I didn't know you could do this. This is very useful thanks
-
Thanks, when i click on that help button , I can see the table of contents, but not the contents lol.
-
Ok good in promoted_events. I will have a look. btw, do you know what the difference between the two highlighted options are?