Write to xml file

Hello,
You need to check that the buffer you are trying to copy is available with something like this:

Code:
FIND tt1 WHERE your condition NO-LOCK NO-ERROR.
IF AVAILABLE tt1 THEN DO TRANSACTION:
    CREATE tt2.
    BUFFER-COPY tt1 to tt2.
END.

Best Regards,
 
Hello everyone,
How do I write in a fill-in with a line break in the key label?
The ABL button widget does not support multiple lines of text in the label.

Workaround solution is to use an image with the desired text.

Or, it might be possible to use win32 API to some manipulate the properties of the button to make it multiline.



Code:
  DEFINE VARIABLE hnlable AS HANDLE      NO-UNDO.
  DEFINE VARIABLE hnlableHWND AS INT      NO-UNDO.
 
  hnlable = FILL-IN-2:SIDE-LABEL-HANDLE .
 
  //hnlable:SCREEN-VALUE =  "OK~r~n" + "True".
 
  hnlableHWND =  hnlable:HWND.
 
  MESSAGE hnlableHWND.

Using the HWND handle, you might be able to use win32API to manipulate the label style to make it multi-line.

 
I've tried to make the fill-in side label multiline (word wrap) using the Win32 API programming, but I just can't get it to work.
Someone who is cleaver than me might be able to help.

However, I have managed to make a button's label to show multiple lines.

1757648360233.png
 
Hello, if you remember the keyboard code you gave me last time, which uses an XML file, the variable that uses the label, the fikeylabel, which uses a fill-in, I tried to change it with an editor, but the problem I found was that it didn't configure a line break in the button.
 
Back
Top