Function

Callung Function

Page 1 of 1

3 Replies - 1338 Views - Last Post: 23 October 2008 - 08:32 AM

#1 RAJUHHA  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 20-October 08

Function

Post icon  Posted 20 October 2008 - 11:42 PM

Hi all,

I saw a function in MSDN
Private ClearForm(Byval ctrlpanel as control)

Wish to know how to call this function.
My intension is to clear the contents all all textboxes
once I save the data into a table,

Tx
Raj
Is This A Good Question/Topic? 0
  • +

Replies To: Function

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 8938
  • View blog
  • Posts: 33,504
  • Joined: 12-June 08

Re: Function

Posted 21 October 2008 - 09:50 AM

A few things.. first it's private and if it's in the MS code then you are NOT going to be able to call it.

Second write your own function that clears data from what ever text boxes you might have.
Was This Post Helpful? 0
  • +
  • -

#3 RAJUHHA  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 20-October 08

Re: Function

Posted 22 October 2008 - 11:26 PM

View Postmodi123_1, on 21 Oct, 2008 - 09:50 AM, said:

A few things.. first it's private and if it's in the MS code then you are NOT going to be able to call it.

Second write your own function that clears data from what ever text boxes you might have.


Actually I was testing how to call this function in the same form
to call i know it should be ClearForm(), but what should I give in the parentesis, I mean () inside the bracket ???
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 8938
  • View blog
  • Posts: 33,504
  • Joined: 12-June 08

Re: Function

Posted 23 October 2008 - 08:32 AM

http://www.dreaminco...snippet1238.htm

Make sure you thank him when you are done using it..
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1