Re: Programmatically change the background image in the Application Window

2017-12-18 Thread Eric Naujock via 4D_Tech
Thanks for that tip. I played a bit with that and I now have a basic form running in the Application window. Since I have started refactoring my code to start using CALL FORM and CALL WORKER. This gives a very interesting option. I will continue to play with this to see if I can get some more

Re: Programmatically change the background image in the Application Window

2017-12-18 Thread Eric Naujock via 4D_Tech
Good evening, Yes I read the page you mentioned before I posted, But that page assumes that we are using the menu bars in the menu items. I am using the menu commands to build and present my menu bars. There does not seem to be a command line option to accomplish that. There is no

Re: Programmatically change the background image in the Application Window

2017-12-18 Thread Keisuke Miyako via 4D_Tech
> Is there a way to from within code of a database change the background > graphic for the 4D application window? > Or is there something else that can be done with it other than show a static > picture or the 4D logo? take a look at the documentation:

Programmatically change the background image in the Application Window

2017-12-18 Thread Eric Naujock via 4D_Tech
Good afternoon, Is there a way to from within code of a database change the background graphic for the 4D application window? Or is there something else that can be done with it other than show a static picture or the 4D logo? If there was a way to change the image it would be

Re: Menus and components

2017-12-18 Thread Tim Nevels via 4D_Tech
On Dec 18, 2017, at 2:00 PM, Jeremy Roussak wrote: > Your last line is the key: according to the documentation, nothing has > changed, but when I run the code, everything has changed. > > So it seems that if I want to have component display a form while keeping the > host’s menus visible and

Re: Menus and components

2017-12-18 Thread Jeremy Roussak via 4D_Tech
Miyako, You’re quite right: the documentation is clear. However, it was every bit as clear in v14, and what I am doing worked. I’m not being quite as naughty as you might think. My main host database handles my practice (I’m a lawyer). It has a self-contained unit within it which displays a

Re: [off] File will not open in excel

2017-12-18 Thread Tim Nevels via 4D_Tech
On Dec 17, 2017, at 2:00 PM, Tom Dillon wrote: > Tim Nevels via 4D_Tech wrote: > >> I'm guessing this as a feature requested by the corporate IT types long >> ago so they could dump out data from databases in text format and have >> their users easily open them in Excel. >> >> It macOS version

Re: Menus and components

2017-12-18 Thread John DeSoi via 4D_Tech
I just realized I left out a key detail. Whenever I was mixing host and component menus on the same menu bar, 4D would crash when I quit. I solved this by duplicating the host menu in code before appending the component menus. This is probably why all the host methods must be shared. John

Re: Menus and components

2017-12-18 Thread John DeSoi via 4D_Tech
> On Dec 17, 2017, at 1:01 PM, Jeremy Roussak via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > In v16, things have changed. The parent menu bar doesn’t appear; and if I > make it appear, by supplying a callback routine in the parent which calls SET > MENU BAR(“Main”), while the menu bar and

Re: Microsoft Outlook Integration

2017-12-18 Thread Douglas Cryer via 4D_Tech
Tim, I have some code that I think does what you are asking for. Essentially I have written some methods that execute VBScript for Windows and Applescript for Ma. This supports calling Outlook on both platforms and Mail on Mac to send emails. It also gets the list of email accounts from the