XML Dialog

Vous débutez et vous avez besoin d'aide ? N'hésitez pas à poser vos questions
Avatar de l’utilisateur
microdevweb
Messages : 1798
Inscription : mer. 29/juin/2011 14:11
Localisation : Belgique

XML Dialog

Message par microdevweb »

Bonjour à tous,

Il semblerait que la fonction align des dialog ne fonctionne pas, si vous avez des infos à se sujet merci d'avance

Code : Tout sélectionner

xml.s = "<window name = 'form' width = '800' height = '600' text = 'test' flags = '#PB_Window_SystemMenu|#PB_Window_ScreenCentered'>"+
        "   <vbox  expand = 'item:1' >"+
        "     <hbox expand = 'yes'>"+
        "       <button name = 'bt_1' text = 'BUTTON 1'/>"+
        "     </hbox>"+
        "     <hbox expand='no' align='right'>"+
        "       <button name = 'bt_2' text = 'BUTTON 2' />"+
        "       <button name = 'bt_3' text = 'BUTTON 3' />"+
        "     </hbox>"+
        "   </vbox>"+
        "</window>"
ParseXML(0,xml)
CreateDialog(0)
OpenXMLDialog(0,0,"form")
Repeat
  event = WaitWindowEvent()
  If event = #PB_Event_CloseWindow
    End
  EndIf
ForEver
Windows 10 64 bits PB: 5.70 ; 5.72 LST
Work at Centre Spatial de Liège