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
353
Last Active
Roles
Member

Comments

  • I think so yes, how would I detect it based on specific caption?
  • size of (window frame x 2) + (6*2) always have a six pizel border between mdi frame and edge of main window SizeDiff = (GetSystemMetrics(SM_CXSIZEFRAME$) *2) + 12 but by using CLIENTSIZE it's not needed. The following works Declare Function Get_Pr…
  • Your comment made me think why don't I just change the size. This fixes the problem on my machine. EQU SizeDiff To 28 ! get mdiframe size MdiSize = Get_Property("MAIN_TACTIC.MDICLIENT", "SIZE") ! get main window size MainSize = Get_Property("MAI…
  • Runtime.
  • When I change the form to cover two monitors the mdi frame does not fill the form it size remains fixed at the size of the primary monitor.
  • From Carl Pates "I believe that internally the XOInstance code uses SQLConnect() which expects the name of a DSN file, rather than SQLDriverConnect() which doesn't, hence I don't think you can get away without defining the ODBC connection on the loc…
  • OK, I'll try that. Moving to ADO seems like it might be a lot of work. What advantages would ADO have? Is it faster?
  • Got it working, error in my code. I was reading SQL passwords etc from a new file. The name of the data connection was being converted to uppercase in the old code but not the new code.
  • OK, that gives me something to look at. I just noticed I had made a few minor changes to my code maybe that is the source of the problem.
  • I fixed the focus issue by adding Call Set_Property("SYSTEM", "FOCUS", "IMAGE") to the OnClick event.
  • That fixes the zoom issue.
  • On Andy's machine using a Logitech mouse (Microsoft driver) he sees the same behavior as I do, that is the wheel does not zoom.
  • Hmmm maybe it's the Logitech driver
  • Windows 7 64 bit Logitech Performance MX Setpoint version 6.32.7 Driver version 5.33.14 Do you have a similar version etc? I think mine is the latest but I could be wrong. I just called Andy (my co-worker in Boston) I wanted to see how it works …
  • Hmm actually zoom does work, holding down the control and pressing the light and right mouse buttons zoom in and out (or be it in a very jumpy manner, not smooth). Mouse will does nothing. BTW ideally I like to use Shrink or Thumbnail.
  • Using 3.0.4 Switched to Pan mode and focus works correctly (no new version required). This might work as is, if zoom works. I hold down the control key the mouse changes to something that looks like it might zoom, but using the scroll wheel with …
  • Yes, that works. If I can get a handle to the window so I can close it (see revelation forum).