Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

jimvaughan

About

Username
jimvaughan
Joined
Visits
332
Last Active
Roles
Member

Comments

  • Send_Message seems to work better. I did see one tile vertical fail, it only tiled one of two windows. I think is something to do with the size of the windows.
  • Also, sometimes the mdichilds do not fit in to the entire mdi frame. A gap is left at the right and bottom. I am currently using the Ret_Val = Send_Event(@Window,"TILE",0) method. I am going to try with the Send_Message method instead.
  • That is working now for horizontal (most of the time), and for vertical (sometimes it does, often it does not). Horizontal works more often the vertical. I also when tiling I get a brief message "window already exists" flash in the status line. …
  • Ha, no worries. I thought I was losing it.
  • This is what the windows look like. One edittable. Two separate horizontal and one vertical scrollbars (these are separate controls and are not part of the edittable. A OLE splitter bar (without mdi_theme, it uses a OI Splitter bar). An area I draw…
  • I have no idea why this is doing this but this is what I am seeing. If call this: Ret_Val = Send_Message(@Window:".OLE_SUBCLASS", "OLE.Tile", @Window:".MDICLIENT", 1) It tiles two open mdichilds horizontally, shouldn't this be vertical? If I ca…
  • Now I think about replacing the OCX will not work, the old code is already using the new OCX. Does installing the control change something else?
  • Just tested using a backup of my code from end of August and tile works correctly. I can see nothing at first glance that I have changed that could cause tile to stop working. However, I did install SRP control 4.1.11 and 4.1.16.1. I was using 4.1.6…
  • This is from 2.0 which I just downloaded. License ------------ Location: C:\oi32\Waterloo.srplic SRPControls.ocx: 4.1.16.1, C:\oi32\SRPControls.ocx Controls ------------ SRP Button Control -- Expired 08/29/2021 SRP DatePicker Control -- Expired 0…
  • Just tried running SRP_ActiveX_Info.exe Why do they all show as expired? License ------------ Location: C:\oi32\Waterloo.srplic SRPControls.ocx: 4.1.16.1, C:\oi32\SRPControls.ocx Controls ------------ SRP Button Control -- Expired 08/29/2021 SRP D…
  • I have no idea what is going on here, I am confused. https://wiki.srpcs.com/display/Events/TILE 0 is horizontal. So this, will tile horizontal: Ret_Val = Send_Event(@Window,"TILE",0) Yet I need to do this to make it horizontal Ret_Val = Send_Mess…
  • Kevin, If I do the following when two mdi child forms are open. (1) Tile horizontal and it works. Ret_Val = Send_Message(@Window:".OLE_SUBCLASS", "OLE.Tile", @Window:".MDICLIENT", 1) (2) Tile vertical and nothing happens Ret_Val = Send_Message(@Wi…
  • Some of this I think was caused by having an OLE_SUBCLASS control on one of the mdi_childs, I had moved it to the main form that contained the mdi_frame and forgot to move this one. Still testing.
  • On some mdichilds tile can corrupts a radio button. This is all using the send_event method with no mditheme. I'm trying to figure out why this is happening.
  • It's not your code. It's some mdichilds for some reason when they are open, they don't tile correctly even when not using mditheme. You definitely have 1 and 0 reversed.
  • I'm doing more testing to see if I can see when it stops working.
  • Two things (1) I think you have 0 and 1 reversed. (2) Unless I am doing something stupid, it seems to work for a while and then stops.
  • Perfect, many thanks. This mditheme makes my app look so much better. Thank you again.
  • Kevin, Very cool, Thank you. I must leave right now, but I will look at this tomorrow.
  • Ah OK that makes sense.
  • BTW separate subject, I use your help F1 exclusively now.
  • Thanks Kevin.
  • No, I am not using the ribbon control. This is changing the theme without the use of the ribbon control. This property https://wiki.srpcs.com/display/SubclassControl/MdiTheme
  • SRP.Splitter.1 had not been saved in the text field. Thanks for pointing me in the right direction.
  • How do I install this zip?
  • Kevin, I might be seeing a slowdown in this version. I was on 2.1.5, could I get a link to this version so I can compare?
  • Extracting data from and inserting data into a multidimensional array in a loop, using <>. Subroutine also used locate. Subroutine was called repeatedly 1000's of times.
  • That did the trick, thanks again. BTW using these two functionw have made significant speed improvements to my software.
  • Fantastic, that was quick. Thank you.
  • OK, Thanks Kevin.