Plus Community - for users of ACCPAC & Adagio accounting software

Welcome to the PlusCommunity forums! PlusCommunity is a gathering place for companies running Simply Accounting, ACCPAC Plus, Sage Accpac ERP (ACCPAC Advantage/ACCPAC for Windows), and Adagio Accounting.
New visitors, please click here!

Page 1 of 1 1
Topic Options
#53448 - 02/13/18 09:13 PM Creating a button control using macro
FarazAfzal
Member


Registered: 05/31/09
Posts: 113
Loc: Saudi Arabia
Dear All,

I am trying to insert a command button on an order entry UI screen using macros but the command button does not show up on the screen. Actually what i am trying to do is to remove the normal post button using customization profiles and put my on post button.

Can anyone help me here.

Top
#53450 - 02/14/18 02:58 AM Re: Creating a button control using macro [Re: FarazAfzal]
Jay Converse Administrator
Member


Registered: 07/31/00
Posts: 7655
Loc: Location, Location
Make the OE1100 OCX transparent, then something like this in the form resize:

Me.cmdPost.Top = .UIAppControls("APP_Save_Button").Top
Me.cmdPost.Left = .UIAppControls("APP_Save_Button").Left
Me.cmdPost.Width = .UIAppControls("APP_Save_Button").Width
Me.cmdPost.Height = .UIAppControls("APP_Save_Button").Height
_________________________
Jay Converse
Sage 300 Whisperer

Top
#53451 - 02/14/18 03:52 AM Re: Creating a button control using macro [Re: Jay Converse]
FarazAfzal
Member


Registered: 05/31/09
Posts: 113
Loc: Saudi Arabia
Can you please tell me how to make it transparent ?
Top
#53452 - 02/14/18 03:53 AM Re: Creating a button control using macro [Re: FarazAfzal]
Jay Converse Administrator
Member


Registered: 07/31/00
Posts: 7655
Loc: Location, Location
It's a Property of the OCX.
_________________________
Jay Converse
Sage 300 Whisperer

Top
#53453 - 02/14/18 03:56 AM Re: Creating a button control using macro [Re: Jay Converse]
FarazAfzal
Member


Registered: 05/31/09
Posts: 113
Loc: Saudi Arabia
Yes, actually i changed it but button is still not showing for some reason. It seems it goes behind the control
Top
#53454 - 02/14/18 03:58 AM Re: Creating a button control using macro [Re: FarazAfzal]
Jay Converse Administrator
Member


Registered: 07/31/00
Posts: 7655
Loc: Location, Location
Move the control to the back, or the button to the front
_________________________
Jay Converse
Sage 300 Whisperer

Top
#53455 - 02/14/18 04:01 AM Re: Creating a button control using macro [Re: Jay Converse]
FarazAfzal
Member


Registered: 05/31/09
Posts: 113
Loc: Saudi Arabia
Did that, for some reason it doesnt seems to listen to me
Top
Page 1 of 1 1


Moderator:  Jay Converse 
Hop to: