Recent content by Luke Gardiner

  1. L

    Need Advise on Dynamic For Each Statement.

    I think what your looking for is something like this (keep in mind that this only works in versions 9.1 and above I think...) DEFINE TEMP-TABLE aTable NO-UNDO FIELD Field1 AS INTEGER FIELD Field2 AS CHARACTER. DEFINE VARIABLE BLQHand AS HANDLE NO-UNDO. DEFINE VARIABLE BLHand AS HANDLE...
  2. L

    Cant Align Labels on Buttons

    I imagine you have a similar issue to us in that you want to have an image and text on a button side by side. Like Paul says, having the Text centred is a Windows default and as far as I know there is no easy way around this. One option is to make an image containing the text, however you might...
  3. L

    HELP! PictureBox Control

    Not sure, but I don't think you can use the PictureBox control outside the MS Development suite. The closest thing I can think of is the MFC Image Control that comes with any window's O/S. Have you considered making your own OCX's?. With Delphi7, I can take any Delphi object and turn it into...
  4. L

    Its there any guide for progress GUI objects methods?

    Have a look for the "Progress Language Reference" that I know comes with version 9.1D, not sure about other versions...
  5. L

    No Focus OCX

    Hello, I'm trying to make an ocx-button that has a property similar to the no-focus property of the standard progress button, however am having trouble achieving the desired results. Does anyone know how this focus affect is achieved. I've tried handling incoming messages such as WM_SETFOCUS...
  6. L

    3D Colors

    You put system defined colours in the colour table in the progress .ini file. So in the ini file you can put something like: color0=0,0,0 .... color16=255,255,0 color17=COLOR-BTNFACE Then colour 17 is the system-defined button colour....
  7. L

    Barcoding and RF Scanners

    All barcode scanners I've come across work by emulating the keyboard, hence if focus is on a textfield and you scan something then the barcode appears in the field. Most scanners are also programmable to some degree, so you can specify how the barcode data is sent. What we did is have our...
  8. L

    click ocx, press delete and kill progress!

    I made a button ocx and got "Catastrophic Failures" when I tried to delete the button on its Click Event. This was due to the fact that at the time the ocx still had code to perform after it raised the event, however since it had been deleted on the raising of the event, any code left to run was...
  9. L

    .NET made OCX vs Progress events

    I'm not 100% certain but I'm pretty sure I read somewhere that it is not possible to have Progress respond to events from DLL's, only OCX's - I think it might of been in the Progress External Program Interface pdf but I can't find the statement at the moment I've only been using OCX's created...
  10. L

    Help speeding this up

    Isn't this what a JOIN is used for, so you should have something like this: FOR EACH a WHERE a.A_date >= (today -1) NO-LOCK, EACH b WHERE a.A_nbr = b.B_nbr NO-LOCK: DISPLAY a.A_nbr b.B_nbr a.A_inv_date WITH 1 col side-labels down. END. You just gotta make sure that when there are...
  11. L

    Barcode Width

    I think the width of the barcode depends hugely on the barcode standard you are using. I've used Code128, which seems to be one of the most popular as it encodes numbers and letters, and each barcode character is the same width (made up of 3 bars and 3 spaces with a total width of 11, ie 'a' =...
  12. L

    Touchscreen application with Progress 4gl

    Just wondering if anyone has found a way to tell the difference between a touchscreen tap and a mouse-click. We are looking at using both a mouse and touchscreen in our app, however we want in some cases to handle each differently, such as when moving windows around using the touchscreen would...
  13. L

    AppServer Runtime

    Yep cheers, it did, Thanks.
  14. L

    AppServer Runtime

    Hello, Does anyone know if there is a runtime Appserver available from Progress, and if so how it might be obtained? We were wanting to deploy an Appserver with our system, however the control-keys only allow us to install an AppServer on development systems. Thanks Luke Gardiner
  15. L

    AppServer can't access database?

    *Bangs head on desk* Silly me, helps if the local and remote db's are different... and have different names...
Top