[progress Communities] [progress Openedge Abl] Forum Post: 64-bit Activex Issue Setting...

  • Thread starter Thread starter Derek Lord
  • Start date Start date
Status
Not open for further replies.
D

Derek Lord

Guest
Switching to use Progress 64-bit (11.6.3), code which worked with he 32-bit controls does not work with Codejock's latest 64-bit controls (v18 or 17.3). Setting the FONT on a property grid used to be as simple as: CO-PropertyGrid:FONT:NAME = 'Calibri' CO-PropertyGrid:FONT:SIZE = 20 This doesn't give any error, it just doesn't work, it is ignored, no font change. Codejock say that it works in Visual Studio, but really in Visual Studio your are working with the 32-bit control and compiling for AnyCPU. With a 64-bit Progress form I have to drop the 64-bit ActiveX control, I cannot drop the 32-bit controls. As a work around they suggested doing something like this: DEFINE VARIABLE vFont AS System.Drawing.Font NO-UNDO . vFont = NEW System.Drawing.Font("Calibri",20). CO-PropertyGrid:FONT = vFont. But I cannot get this to work, I get the following error: Error occurred while accessing component property/method: FONT. The parameter is incorrect. Is there a way to make this syntax work? Any help would be greatly appreciated. Derek

Continue reading...
 
Status
Not open for further replies.
Back
Top