control limit


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: control limit

  1. #1
    Join Date
    Dec 2004
    Posts
    27

    control limit

    is there anyway to increase the controls limit for forms?

  2. #2
    Join Date
    Nov 2003
    Location
    Alameda, CA
    Posts
    1,737
    no
    if you need more controls than the maximum allowed (that is 255, pretty high don't you think) then create array controls. Or, split them in mutliple userControls that you can them load in the main form (I use this tecnique when I have too many controls and the code in the main form gets too messy)
    Marco
    "There are two ways to write error-free programs. Only the third one works."
    Unknown

  3. #3
    Join Date
    Dec 2004
    Posts
    27
    **** it >_<

    meh ok, never worked with userControls but shouldnt be much differant =\

    hmmm one more question... say i have my open dialogs filters to .txt and .xml

    how would i get them to load on differant MDIchild forms? so say the .txt would load on frm1 and the .xml loads on frm2?
    Last edited by gx_aaron; 05-19-2005 at 11:53 PM.

  4. #4
    Join Date
    Feb 2005
    Posts
    103
    When Frm1 is loading Frm1_load() put dlg.filter = (.txt here)
    When Frm2 is loading Frm2_load() put dlg.filter = (.xml here)

    .txt filter:
    Text Files (*.txt)|*.txt|
    .xml filter:
    (*.xml)|*.xml|

  5. #5
    Join Date
    Nov 2003
    Location
    Alameda, CA
    Posts
    1,737
    I do not know if xrstx answered your last question, if not please repost it in a new thread
    Marco
    "There are two ways to write error-free programs. Only the third one works."
    Unknown

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center