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
-
Using code. But the problem with what you have suggested is that the WRITE event is not fired if the save fails, so where would I put the code that checks @FILE_ERROR?
-
Actually nvm. I think I can use this event, which i hadn't heard of before SYSMSG
-
Reading your comment made me realize that there is a simpler way to do this. In our particular scenario, I don't care if OI blocks while waiting to receive data, so I think I can use the sockets_function in OI to listen until a timeout period. I wi…
-
Sorry I wasn't clear enough. This is actually all we need: We need a certain process running on the user's computer to send data to the OI running on the user's computer. This other process is only capable of making HTTP requests.
-
The phone app needs to send some data to OI. The constraint is that the phone app is only capable of making a http request to a url. We can't make it do anything else (as far as i know, but the guy managing the phones probably hasn't tried hard enou…
-
Interesting. By disable, do you mean setting the ENABLED property to 0 Yes.
-
I think I have fixed this by just disabling the grid before new form is opened, and enabling the grid after the form opens. Since I have only noticed this happen when opening a form via the SRP grid, this seems like a decent solution. Are you say…
-
Actually, never mind, I can see our code is just calling qualify_event for each control. I will just remove this code Ctrls = Get_Property(window_fullname, 'CTRLMAP') NumCtrls = fieldCount(Ctrls, @FM) For Loop = 1 to NumCtrls Ctrl = Ctrls…
-
This seems to be the culprit Case Message EQ WM_SYSCOLORCHANGE // User is changing a color theme. Adjust the running windows to change their colors WindowList = Utility("OBJECTLIST", "", "WINDOW") NumWindows = Count(WindowList, @FM) +…
-
Actually I was wrong. It's not WM_ACTIVATE. It's WM_SYSCOLORCHANGE. But I guess I need to look into why our app is notjust ignoring these messages.
-
I just tested it on the example app that comes with OI, and I did not get the period of flashing and unresponsiveness. So I'm guessing it's something we're doing..
-
wow thanks. I never would have thought of that. Yes, i tend not to use all caps because it looks ugly. Thanks!
-
I guess the next thing I will try is start a windows service from Oi when it starts up. The service will periodically send an event to OI, which will make OI perform the desired action. So i just need to figure out how to send an event from one pro…
-
i can see that this has been an issue since a few years after i was born https://www.revelation.com/revweb/oecgi4p.php/O4W_RUN_FORM?INQID=WORKS_READ&SUMMARY=1&KEY=11388.47645*FCE2D06368C08E1D8525672C00642A9D#/section/breadcrumb/UPDATETABLE/D…
-
Unfortunately if you have a popup open, OI crashes to the debugger when it tries to run the scheduled program. The error is "error loading program "
-
yes
-
update: this works, so this will solve our problem.
-
edit: Actually I will try idleproc, as that might work..
-
I think there could be a way to do it using multiple monitors, but still awkward.
-
You don't need the size property as far as I can see. result = Send_Message(@window, "SCROLL", 0, -10) The above code will scroll down, revealing stuff that was previously off the screen.
-
You don't need to reposition the controls. And the vertical scrollbar doesn't do anything. It's just a UX thing so the user knows the form is scrollable. If you create a really big form and then place controls on that form (in the normal static wa…
-
If you are referring to a regular OI form, then this won't behave as you might want because the scrollbar changes pages rather than navigates virtual space. You could add a vertical scroll bar control to the form though. Are you aware that the…
-
edit: I can also see that you actually need to set the size property for each window to "move them into view", which is worrying as I don't trust the size property(as it can make invisible controls visible).
-
Edit: i just found out that you can actually scroll a window itself using this code, which is interesting, as this could be another way to solve this issue result = Send_Message(@window, "SCROLL", 0, -100) This means you could make an OI form in…
-
deleted post as I can see you have already tried runwin
-
it's not a bound form
-
Thanks, but it doesn't work. The good news is that I actually looked into the slowness, instead of just assuming that it was the browser, and it turns out that the slowness was caused by me using the send_event to trigger an action... I need to ope…
-
btw, do you know if update_index has yield calls inside of it, as I noticed that I am able to move the window around while update_index is processing.
-
Thank you for your advice and the article. I have always wanted to knowhow the indexing works in rev. I will pass this info on to my team.
-
the table has 25 million rows, so...and the entire business will not be able to function without this table lol