HOW CAN OPEN NEW WINDOW AFTER OPENING MAIN WINDOW

HMG Samples and Enhancements

Moderator: Rathinagiri

Post Reply
manoj_duamzn
Posts: 21
Joined: Fri Aug 30, 2013 5:38 am

HOW CAN OPEN NEW WINDOW AFTER OPENING MAIN WINDOW

Post by manoj_duamzn »

I want to open frmCompany Window after loading Main Window. How can I do this
I am attaching code zip file.
Attachments
TEST2.zip
(972 KiB) Downloaded 295 times
User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HOW CAN OPEN NEW WINDOW AFTER OPENING MAIN WINDOW

Post by serge_girard »

Manoj,

Try this:

Code: Select all

Function Main
Load Window Main
load window frmCompany

UpdateMainWindow()

ACTIVATE WINDOW Main , frmCompany

Return
and delete: OpenCompanyWindow()


Gretings and succes,

Serge
There's nothing you can do that can't be done...
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HOW CAN OPEN NEW WINDOW AFTER OPENING MAIN WINDOW

Post by bpd2000 »

Dear
First study following sample before going further, you will learn somthing

C:\hmg\SAMPLES\SampleApplications\CONTACTOS
BPD
Convert Dream into Reality through HMG
Post Reply