Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Borland Delphi > Re: calling a f...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 8 Topic 3671 of 3952
Post > Topic >>

Re: calling a frame's method

by Jim P <Jim_P@[EMAIL PROTECTED] > Mar 31, 2008 at 11:04 PM

peterg12345@[EMAIL PROTECTED]
 wrote:
> Hello all,
> 
> I have a bunch of frames on a main form. I keep track of the current
> frame via a variable - say CurrentFrame. Now, after assigning frame1
> to CurrentFrame, I would like to say something like
> CurrentFrame.DoSomeInitializations, where the method
> DoSomeInitializations are public procedures within each frame. Why
> does this fail? How to correctly do this?
> 
> TIA

what type is CurrentFrame. Does this point to the frame that you desire

think that you will have do so some pointer routines to be sure that
currentframe actually points to the frame that you desire

Jim P.
 




 8 Posts in Topic:
calling a frame's method
peterg12345@[EMAIL PROTEC  2008-03-31 20:39:17 
Re: calling a frame's method
=?ISO-8859-1?Q?Erich_G=FC  2008-04-01 07:55:05 
Re: calling a frame's method
Jim P <Jim_P@[EMAIL PR  2008-03-31 23:04:20 
Re: calling a frame's method
Rob Kennedy <me3@[EMAI  2008-04-01 07:33:39 
Re: calling a frame's method
peterg12345@[EMAIL PROTEC  2008-04-01 08:48:14 
Re: calling a frame's method
=?ISO-8859-1?Q?Danny_Str=  2008-04-01 21:04:45 
Re: calling a frame's method
Jamie <jamie_ka1lpa_no  2008-04-01 20:18:34 
Re: calling a frame's method
Hedrew3 <peterg12345@[  2008-04-01 15:38:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 20:18:03 CDT 2008.