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.
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.
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
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...
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"...
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...
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...
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...
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
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 =...
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 -...
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...
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?
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...
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...
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...
As Cringer outlines there are other .NET style libraries available and one is included with Windows.
You have to create a .NET form and add the TreeView control to the form. If you have Progress Developer Studio this can be done using Visual Designer and add the TreeView from Microsoft...
It could be a limitation of the ABL .NET bridge, and if so maybe not being multi-threading:
https://docs.progress.com/bundle/openedge-gui-for-dotnet-in-abl/page/Limitations-of-support-for-.NET-classes.html
With not having a chance to work with the component not sure of the exact problem, but...
Cecil, I have not used this component so cannot offer any help, but having a quick look I do not get the Syntax error.
This is what I did:
1) As per the C# instructions from this site - microsoft/edge-selenium-tools - I downloaded the two packages...
No, apart from a couple of Windows Forms controls very rarely use any .NET components now. Mostly all the work I do now is pure OpenEdge. In the past I did a bit of work with Visual Basic .NET which gave me a good understanding of the workings, but now hardly ever use.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.