Results 1 to 3 of 3

Thread: เราสามารถทำให้ Data Grid Control ขยายขนาดตามขนาดของ Form ที่เราได้ขยายขึ้นโดยปุ่ม Maximize ได้ไหมครับ

  1. #1


    Angry

    ผมเขียนโปรแกรมฐานข้อมูลแต่มีปัญหากับ Data Grid Control อะครับ เลยอยากถามว่า

    - เราสามารถทำให้ Data Grid Control ขยายขนาดตามขนาดของ Form ที่เราได้ขยายขึ้นโดยปุ่ม Maximize ได้ไหมครับ
    - และหลังจากที่ขยายขนาดแล้วก็ให้ขยายความกว้างของ Column ให้ได้ตามขนาดกันด้วยอะครับ

    หาในส่วนของ Properties ของ Control แล้วไม่เห็นมีเลยครับ
    (ผมใช้ Visual Basic 2003 ครับ)

  2. #2
    Member
    Join Date
    Jul 2007
    Posts
    40


    ไม่แน่ใจว่า 2003 มี Dock in Parent หรือปล่าวนะครับ 2005-2008 มีแน่นอนครับ
    ส่วนการขยายความกว้างของ คอลัมพ์ ก็ AutosizeColumnMode

  3. #3
    Junior Member
    Join Date
    Sep 2008
    Posts
    16


    คิดว่า 2003 น่าจะมี Dock in Parent น่ะครับ

    ดูตรง Properties Window ของ Data Grid แล้วเลือกตรง Dock ให้เป็น Fill ดูซิครับ เวลาเราขยายจอ มันก็จะขยายตาม

Similar Threads

  1. Replies: 0
    Last Post: 25-11-2009, 07:59 AM
  2. Set Internet Explorer and Firefox to maximize your security
    By newsbot in forum World Hacking/Security News
    Replies: 0
    Last Post: 21-03-2008, 03:17 AM
  3. Maximize the Use of Your ISPs Filters
    By newsbot in forum World Hacking/Security News
    Replies: 0
    Last Post: 29-02-2008, 01:24 PM
  4. เครื่องผมใช้ ubuntu ได้ไหมครับ
    By obakung in forum Operating System, Server and Networking
    Replies: 3
    Last Post: 19-09-2007, 11:56 PM
  5. Replies: 0
    Last Post: 26-08-2007, 01:19 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •