The Form that pops up contains a memo field to large to
  have on the main form.
  This memo field is a field that contains a large string of data.
  This data currently is read only, but using the first method does not
  allow the scrollbar to work, the second method will not put the 
  records field text into the field, or I have not figured out how to do it 
anyway.
  

Christopher Stamper <[EMAIL PROTECTED]> wrote:
  Maybe I missed something...


Why are you wanting to pop up a form? Is it over the current app or over your 
app?

I have been wanting to pop a form over the current app, hack-style. It this 
possible this way? 

  On 9/7/07, Michal Seliga <[EMAIL PROTECTED]> wrote:  > FrmDodialog works in 
the sense that it only pops a form and waits until
> a user hits a control, then closes, returning the id of the tapped
> control. at that point, the field contents, and all form memory is wiped 
> out.

you can set your own handler before calling FrmDoDialog and then you can have
all control you wish

and also memory is not wiped out. all this happens only after you call
FrmDeleteForm.

so basich scheme of using FrmDoDIalog is

frmP=FrmInitForm(formId);
//do initialisation of form (same thing you would do on frmOpenEvent
FrmSetEventHandler(frmP,MyEventHandler); //on ctlSelectEvents - if you mark 
them 
as handled dialog will continuye. if you will return false then dialog will end
and id of selected control will be returned
button=FrmDoDialog(frmP);
//do all processing you want depending on pressed button
//do all processing you would do on frmClose event
FrmDeleteForm(frmP);

and you are done. IMHO its much simpler then FrmPopupForm and FrmReturnToForm,
but thats probably dependant on personal preference

--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/




-- 
Christopher Stamper
[EMAIL PROTECTED] 
--   For information on using the ACCESS Developer Forums, or to unsubscribe, 
please see http://www.access-company.com/developers/forums/


       
---------------------------------
Got a little couch potato? 
Check out fun summer activities for kids.
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to