Search results

  1. O

    OpenEdge GUI for NET

    I have never used DYNAMIC-NEW so do not know the reason. This article seems to confirm your problem: https://knowledgebase.progress.com/articles/Knowledge/P148058 As per the article, does DYNAMIC-INVOKE work instead: DYNAMIC-INVOKE(oForm, "CustomValue").
  2. O

    OpenEdge GUI for NET

    Previous post was incomplete. To obtain a parameter in the calling program two ideas: Pass the handle/object of the calling procedure/class either via the constructor or a method/property to the called class, and when accepted run the internal procedure/method from the called class: RUN...
  3. O

    OpenEdge GUI for NET

    One option is to invoke/record an OK acceptance and if accepted set the parameter then. Example 1: DEFINE VARIABLE oDialogResult AS System.Windows.Forms.DialogResult NO-UNDO. DEFINE VARIABLE oPrintDialog AS System.Windows.Forms.PrintDialog NO-UNDO. oPrintDialog = NEW...
  4. O

    "Simulate" Right-Mouse-Click Native | "Windows")

    I think I see the problem. Are you able to determine the fields/browses/etc. by walking the widget tree? If so, can you set the trigger doing something similar to?: DO WHILE hObject <> ?: IF hObject:TYPE = "BROWSE" THEN ON RIGHT-MOUSE-CLICK OF hObject PERSISTENT RUN whatever...
  5. O

    "Simulate" Right-Mouse-Click Native | "Windows")

    I am not sure but it could be the anywhere that is causing the problem. If you only set the trigger for the browse does that work?: ON RIGHT-MOUSE-CLICK OF BROWSE-1 IN FRAME DEFAULT-FRAME DO: ... END. If you have multiple browses or the browse is dynamic then set this trigger at run-time.
  6. O

    Answered Change Browse column format at runtime

    The problem is you are trying to change the format using a method that only works if there is at least one selected record/row in the browse: Try the solutions in the attached text files.
  7. O

    Answered Is it possible to trigger a popup-menu

    According to this article it is not possible: https://knowledgebase.progress.com/articles/Knowledge/P4242 From this site it looks to be possible by making API calls to obtain the position of the popup menu and then simulating the click: http://www.databaseforum.info/16/724304.aspx
  8. O

    Question C# to ABL again

    I have not used DocuWare and can only find a cut-down version available so cannot really offer much help. But one thought I had is do you have Progress Developer Studio and if so what does Class Browser say for DocuWare.Services.Http.DeserializedHttpResponse? It will hopefully give you the code...
  9. O

    Seeking great OpenEdge GUI development tutorial

    For GUI development in ABL there are two development options - AppBuilder and Visual Designer - but do not know if an actual tutorial exists for either. There is a bit of a tutorial for AppBuilder here - see the section called "Introducing the OpenEdge AppBuilder"...
  10. O

    I don't want window code rearranged

    I am not sure on this. Is the problem that you make an amendment using the AppBuilder and when saved the code for the frame definitions is in a different order? If so, then this does seem to happen and am not sure if it can be turned off. One solution I apply is in "List Objects" click each...
  11. O

    Does anyone have a Calendar (date-picker) example?

    JGress, you have asked follow up questions to this using the conversations option which I cannot answer as it has been closed. I am assuming that it has been closed because questions should be asked via the standard forum which is the way to do things. This allows others to give an input. Your...
  12. O

    Does anyone have a Calendar (date-picker) example?

    If you want another option there are the .NET controls although need to be on a more recent version of Progress. A very simple solution based on this posting - Question - Label Name in the button: DEFINE VARIABLE hWin AS HANDLE NO-UNDO. DEFINE VARIABLE MainForm AS Progress.Windows.Form NO-UNDO...
  13. O

    External DLL 32bit vs 64bit

    According to this article it does appear possible to load .NET DLL libraries programmatically but do not know how practical this is: https://knowledgebase.progress.com/articles/Knowledge/000050739
  14. O

    Question COM Object Help required

    If you know the row number then something similar to either of these: chWorkSheet:Rows(4):Delete. chWorksheet:Rows(vRow):EntireRow:Delete. If working with a range then something similar to: chWorkSheet:Range(vRange):EntireRow:Delete. /* Or */ chRange =...
  15. O

    Get Dynamic-Field - Value

    As Tom has explained: So you need to obtain the handle to the field, and again as Tom has posted "walking the widget tree" is the general solution. Attached is a very old kbase that shows how to handle extent field screen values that you can adapt. Send the function the name of the variable -...
  16. O

    Calling function from .NET WebBrowser

    I am not sure if it is possible with the OCX WebBrowser but may be possible with the .NET WebBrowser: https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.webbrowser?view=net-5.0 This looks to have all kinds of options so hopefully one covers what you require. A Progress example...
  17. O

    PdfiumViewer.DLL implementation in ABL Code

    Adding to assemblies.xml and placing in the session directory is correct so should work. You say you generated the DLL file so have you created it yourself? If so, can you attach so can have a quick check. If not, where was it downloaded from?
  18. O

    Data Dictionary Display

    As Rob suggests the first one may be using an ini file which has the wrong fonts. If so, check the two font settings in the ini file and they normally appear as such: [Startup] V6Display=no ;ImmediateDisplay=yes ;MultitaskingInterval=100 DefaultFont=MS Sans Serif, size=8...
  19. O

    programmable virtual keyboard development

    It is difficult to tell as you have not posted the full code. That message can appear if you try to run this single line of code and a .NET specific WAIT-FOR does not exist: System.Windows.Forms.SendKeys:Send("a"). The following is an example of SendKeys and using a .NET specific WAIT-FOR...
  20. O

    Adding a transparent gif to a button

    I am not sure that what you want to do is possible with a standard OpenEdge button. I suppose one option is maybe make the image mimic a button and set the following trigger for it: ON MOUSE-SELECT-CLICK OF imgADD DO: ... END. Another possible option is use a .NET button instead which...
Back
Top