[AccessD] Create and place buttons with code

Gustav Brock gustav at cactus.dk
Wed May 15 00:50:33 CDT 2019


Hi Arthur

Jim is right, and that's exactly how my code operates. 
Four invisible buttons are made visible and repositioned as needed.

/gustav

-----Oprindelig meddelelse-----
Fra: AccessD <accessd-bounces at databaseadvisors.com> På vegne af Arthur Fuller
Sendt: 14. maj 2019 21:16
Til: Access Developers discussion and problem solving <accessd at databaseadvisors.com>
Emne: Re: [AccessD] Create and place buttons with code

Thanks, Jim. I shall try that approach instead. But your suggestion does not help me place the buttons. I shall work on that as a sub-project.

On Tue, May 14, 2019 at 1:49 PM Daniel Waters <df.waters at outlook.com> wrote:

> If anyone does hit that limit - the Access DeCorrupter will fix that for you.
>
> Let me know if you want a copy.
>
> Dan
>
> -----Original Message-----
> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf 
> Of Jim Dettman via AccessD
> Sent: May 14, 2019 12:43
> To: 'Access Developers discussion and problem solving'
> Cc: Jim Dettman
> Subject: Re: [AccessD] Create and place buttons with code
>
> Arthur,
>
>  Not a great idea.  Two reasons:
>
> 1. The lifetime limit for adding controls to a form (once you hit it,  you can't add anymore).
> 2. Adding code will leave the app un-compiled.
>
>  Better to place all the buttons you need and then hide/un-hide as needed.
>
> Jim.
>
> -----Original Message-----
> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf 
> Of Arthur Fuller
> Sent: Tuesday, May 14, 2019 10:58 AM
> To: Access Developers discussion and problem solving
> Subject: [AccessD] Create and place buttons with code
>
> Preamble: I'm trying to write a replacement for MsgBox, which 
> basically does everything MsgBox does, and then some.
>
> --
> Arthur 



More information about the AccessD mailing list