Yeni Pencere Açmak

  1. KısayolKısayol reportŞikayet pmÖzel Mesaj
    MohEmre
    MohEmre's avatar
    Kayıt Tarihi: 01/Temmuz/2003
    Erkek
    VB de nasıl yeni pencere açarım ?
    MEsela hakkında"ya basacaklar yeni pencere açılacak.resim falan koycam...
    ben mesaj kutusu koyuyodum.ama yani o da çok basit görünüyor.en iyisi yeni pencere.nasıl yapabilirim ? VB 6 kullanıyorum.Farketmez ama...

    This time, action must speak louder than words...
  2. KısayolKısayol reportŞikayet pmÖzel Mesaj
    MartyN
    MartyN's avatar
    Kayıt Tarihi: 21/Aralık/2002
    Erkek
    1 tane form ekliyosun project penceresinden sağ tuşa bas add new form de ekle
    sonra ilk form1 deki bi butona falanmı tıklayınca açılmasını istiyosun ne istiyosan oraya
    form2.show
    yaz, mesela butonun click olayına.

    222 gün siteye giriş yapmayı unutan emekli admin.
  3. KısayolKısayol reportŞikayet pmÖzel Mesaj
    m3rt
    m3rt's avatar
    Kayıt Tarihi: 24/Aralık/2002
    Erkek
    delphide .showmodal war. onu kullanınca yeni açılan pencereden altaki pencereye geçemiyosun. ama vb de kullanılırmı bilmem
  4. KısayolKısayol reportŞikayet pmÖzel Mesaj
    MohEmre
    MohEmre's avatar
    Kayıt Tarihi: 01/Temmuz/2003
    Erkek
    Martyn harikasın!Sağol...
    Sen de sağol m3rt ama VBde olcakti benimki...
    Sağol...

    This time, action must speak louder than words...
  5. KısayolKısayol reportŞikayet pmÖzel Mesaj
    cnn
    cnn's avatar
    Kayıt Tarihi: 01/Ekim/2003
    Erkek
    Önce File > New > Form Yap. Karsına 1 form daha gelecek. Sonra 1. forma 1 buton koy ve şu komutları ekle..

    Sub Command1_Click()
    form1.hide
    form2.show


    __________________________________________
    Command1_Click = command1 e tıklayınca;
    form1.hide = form1 i kapat,
    form2.show = form2 yi aç..
  6. KısayolKısayol reportŞikayet pmÖzel Mesaj
    Criminal2
    Criminal2's avatar
    Kayıt Tarihi: 04/Ağustos/2003
    Erkek
    Hide yerine bunu kullan
    #############################################
    The SetParent function changes the parent window of the specified child window.

    HWND SetParent(

    HWND hWndChild, // handle of window whose parent is changing
    HWND hWndNewParent // handle of new parent window
    );


    Parameters

    hWndChild

    Identifies the child window.

    hWndNewParent

    Identifies the new parent window. If this parameter is NULL, the desktop window becomes the new parent window.



    Return Values

    If the function succeeds, the return value is the handle of the previous parent window.
    If the function fails, the return value is NULL. To get extended error information, call GetLastError.

    Remarks

    An application can use the SetParent function to set the parent window of a pop-up, overlapped, or child window. The new parent window and the child window must belong to the same application.
    If the window identified by the hWndChild parameter is visible, Windows performs the appropriate redrawing and repainting.
    #############################################
Toplam Hit: 2411 Toplam Mesaj: 6