Code : Tout sélectionner
If ChaineXML
ValeurRetour=Fc_Fenetres_OuvertureDialogueXML(#ARBRE_XML,#XML_FENRESULTATS,ChaineXML,"FEN_RESULTATS")
If ValeurRetour
SetWindowData(#FEN_RESULTATS,ArgTypeRecherche)
SetGadgetData(#GAD_FR_BT_LIENURL,#GAD_FR_CP_LIENURL)
SetGadgetAttribute(#GAD_FR_BT_LIENURL,#PB_Button_Image,ImageID(#IMG_DISCOGS))
Select ArgTypeRecherche
Case 0 ;{ Recherche Artiste par ID
SetGadgetData(#GAD_FR_BT_LIENURI,#GAD_FR_CP_LIENURI)
SetGadgetAttribute(#GAD_FR_BT_LIENURI,#PB_Button_Image,ImageID(#IMG_DISCOGS))
; Parutions
SetGadgetData(#GAD_FR_BT_BOUTON01,#GAD_FR_CP_CHAMP03)
SetGadgetAttribute(#GAD_FR_BT_BOUTON01,#PB_Button_Image,ImageID(#IMG_DISCOGS))
; Alias
SetGadgetAttribute(#GAD_FR_BT_BOUTON02,#PB_Button_Image,ImageID(#IMG_DISCOGS))
SetGadgetData(#GAD_FR_BT_BOUTON02,#GAD_FR_LS_LISTEICONES01)
SetGadgetData(#GAD_FR_LS_LISTEICONES01,2)
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES01,0,#PB_ListIcon_ColumnWidth,80,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES01,-1,"ID",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,1,"Nom",200)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,2,"Lien Internet",280)
; Membres
SetGadgetAttribute(#GAD_FR_BT_BOUTON03,#PB_Button_Image,ImageID(#IMG_DISCOGS))
SetGadgetData(#GAD_FR_BT_BOUTON03,#GAD_FR_LS_LISTEICONES02)
SetGadgetData(#GAD_FR_LS_LISTEICONES02,2)
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES02,0,#PB_ListIcon_ColumnWidth,80,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES02,-1,"ID",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES02,1,"Nom",200)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES02,2,"Lien Internet",280)
; Groupes
SetGadgetAttribute(#GAD_FR_BT_BOUTON04,#PB_Button_Image,ImageID(#IMG_DISCOGS))
SetGadgetData(#GAD_FR_BT_BOUTON04,#GAD_FR_LS_LISTEICONES03)
SetGadgetData(#GAD_FR_LS_LISTEICONES03,2)
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES03,0,#PB_ListIcon_ColumnWidth,80,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES03,-1,"ID",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES03,1,"Nom",200)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES03,2,"Lien Internet",280)
;}
Case 1 ;{ Recherche Parutions par Artiste
; Parutions
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES01,0,#PB_ListIcon_ColumnWidth,80,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES01,-1,"ID",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,1,"Titre",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,2,"Parution princ.",80)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,3,"Statut",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,4,"Type",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,5,"Artiste",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,6,"Rôle",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,7,"Année",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,8,"Label",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,9,"Format",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,10,"Miniature",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,11,"Lien URL",100)
;}
Case 2 ;{ Recherche Parution par ID
SetGadgetData(#GAD_FR_BT_LIENURI,#GAD_FR_CP_LIENURI)
SetGadgetAttribute(#GAD_FR_BT_LIENURI,#PB_Button_Image,ImageID(#IMG_DISCOGS))
; Images
SetGadgetData(#GAD_FR_BT_LIENIMAGE,#GAD_FR_LS_IMAGES)
SetGadgetAttribute(#GAD_FR_BT_LIENIMAGE,#PB_Button_Image,ImageID(#IMG_DISCOGS))
SetGadgetData(#GAD_FR_LS_IMAGES,3)
SetGadgetItemAttribute(#GAD_FR_LS_IMAGES,0,#PB_ListIcon_ColumnWidth,80,0)
SetGadgetItemText(#GAD_FR_LS_IMAGES,-1,"Type",0)
AddGadgetColumn(#GAD_FR_LS_IMAGES,1,"Dimensions",72)
AddGadgetColumn(#GAD_FR_LS_IMAGES,2,"Identifiant URI",100)
AddGadgetColumn(#GAD_FR_LS_IMAGES,3,"Lien URL",100)
AddGadgetColumn(#GAD_FR_LS_IMAGES,4,"Identifiant URI 150",100)
; Formats
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES01,0,#PB_ListIcon_ColumnWidth,100,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES01,-1,"Type",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,1,"Qté",40)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,2,"Descriptions",200)
; Labels
SetGadgetData(#GAD_FR_BT_BOUTON01,#GAD_FR_LS_LISTEICONES02)
SetGadgetAttribute(#GAD_FR_BT_BOUTON01,#PB_Button_Image,ImageID(#IMG_DISCOGS))
SetGadgetData(#GAD_FR_LS_LISTEICONES02,5)
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES02,0,#PB_ListIcon_ColumnWidth,80,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES02,-1,"ID",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES02,1,"Nom",200)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES02,2,"No Catalogue",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES02,3,"Type entité",80)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES02,4,"Nom entité",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES02,5,"Lien URL",100)
; Compagnies
SetGadgetData(#GAD_FR_BT_BOUTON02,#GAD_FR_LS_LISTEICONES03)
SetGadgetAttribute(#GAD_FR_BT_BOUTON02,#PB_Button_Image,ImageID(#IMG_DISCOGS))
SetGadgetData(#GAD_FR_LS_LISTEICONES03,5)
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES03,0,#PB_ListIcon_ColumnWidth,80,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES03,-1,"ID",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES03,1,"Nom",200)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES03,2,"No Catalogue",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES03,3,"Type entité",80)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES03,4,"Nom entité",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES03,5,"Lien URL",100)
; Identifiants
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES04,0,#PB_ListIcon_ColumnWidth,200,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES04,-1,"Type",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES04,1,"Valeur",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES04,2,"Description",100)
; Artistes
SetGadgetData(#GAD_FR_BT_BOUTON03,#GAD_FR_LS_LISTEICONES05)
SetGadgetAttribute(#GAD_FR_BT_BOUTON03,#PB_Button_Image,ImageID(#IMG_DISCOGS))
SetGadgetData(#GAD_FR_LS_LISTEICONES05,6)
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES05,0,#PB_ListIcon_ColumnWidth,80,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES05,-1,"ID",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES05,1,"Nom",200)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES05,2,"Variantes",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES05,3,"Arrivée",80)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES05,4,"Rôle",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES05,5,"Piste",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES05,6,"Lien Internet",200)
; Autres artistes
SetGadgetData(#GAD_FR_BT_BOUTON04,#GAD_FR_LS_LISTEICONES06)
SetGadgetAttribute(#GAD_FR_BT_BOUTON04,#PB_Button_Image,ImageID(#IMG_DISCOGS))
SetGadgetData(#GAD_FR_LS_LISTEICONES06,6)
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES06,0,#PB_ListIcon_ColumnWidth,80,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES06,-1,"ID",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES06,1,"Nom",200)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES06,2,"Variantes",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES06,3,"Arrivée",80)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES06,4,"Rôle",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES06,5,"Piste",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES06,6,"Lien Internet",200)
; Pistes
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES07,0,#PB_ListIcon_ColumnWidth,56,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES07,-1,"Type",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES07,1,"Position",72)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES07,2,"Titre",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES07,3,"Durée",56)
; Vidéos
SetGadgetData(#GAD_FR_BT_BOUTON05,#GAD_FR_LS_LISTEICONES08)
SetGadgetAttribute(#GAD_FR_BT_BOUTON05,#PB_Button_Image,ImageID(#IMG_LECTUREVIDEO))
SetGadgetData(#GAD_FR_LS_LISTEICONES08,3)
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES08,0,#PB_ListIcon_ColumnWidth,100,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES08,-1,"Titre",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES08,1,"Durée",56)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES08,2,"Description",200)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES08,3,"URL",100)
;}
Case 3 ;{ Recherche Master par ID
SetGadgetData(#GAD_FR_BT_LIENURI,#GAD_FR_CP_LIENURI)
SetGadgetAttribute(#GAD_FR_BT_LIENURI,#PB_Button_Image,ImageID(#IMG_DISCOGS))
; URL Versions
SetGadgetData(#GAD_FR_BT_BOUTON01,#GAD_FR_CP_CHAMP03)
SetGadgetAttribute(#GAD_FR_BT_BOUTON01,#PB_Button_Image,ImageID(#IMG_DISCOGS))
; URL Parution principale
SetGadgetData(#GAD_FR_BT_BOUTON02,#GAD_FR_CP_CHAMP05)
SetGadgetAttribute(#GAD_FR_BT_BOUTON02,#PB_Button_Image,ImageID(#IMG_DISCOGS))
; URL Parution + récente
SetGadgetData(#GAD_FR_BT_BOUTON03,#GAD_FR_CP_CHAMP07)
SetGadgetAttribute(#GAD_FR_BT_BOUTON03,#PB_Button_Image,ImageID(#IMG_DISCOGS))
; Artistes
SetGadgetData(#GAD_FR_BT_BOUTON04,#GAD_FR_LS_LISTEICONES01)
SetGadgetAttribute(#GAD_FR_BT_BOUTON04,#PB_Button_Image,ImageID(#IMG_DISCOGS))
SetGadgetData(#GAD_FR_LS_LISTEICONES01,6)
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES01,0,#PB_ListIcon_ColumnWidth,80,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES01,-1,"ID",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,1,"Nom",200)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,2,"Variantes",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,3,"Arrivée",80)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,4,"Rôle",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,5,"Piste",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,6,"Lien Internet",200)
; Pistes
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES02,0,#PB_ListIcon_ColumnWidth,56,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES02,-1,"Type",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES02,1,"Position",72)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES02,2,"Titre",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES02,3,"Durée",56)
; Images
SetGadgetData(#GAD_FR_BT_BOUTON05,#GAD_FR_LS_IMAGES)
SetGadgetAttribute(#GAD_FR_BT_BOUTON05,#PB_Button_Image,ImageID(#IMG_DISCOGS))
SetGadgetData(#GAD_FR_LS_IMAGES,3)
SetGadgetItemAttribute(#GAD_FR_LS_IMAGES,0,#PB_ListIcon_ColumnWidth,80,0)
SetGadgetItemText(#GAD_FR_LS_IMAGES,-1,"Type",0)
AddGadgetColumn(#GAD_FR_LS_IMAGES,1,"Dimensions",72)
AddGadgetColumn(#GAD_FR_LS_IMAGES,2,"Identifiant URI",100)
AddGadgetColumn(#GAD_FR_LS_IMAGES,3,"Lien URL",100)
AddGadgetColumn(#GAD_FR_LS_IMAGES,4,"Identifiant URI 150",100)
; Vidéos
SetGadgetData(#GAD_FR_BT_BOUTON06,#GAD_FR_LS_LISTEICONES03)
SetGadgetAttribute(#GAD_FR_BT_BOUTON06,#PB_Button_Image,ImageID(#IMG_LECTUREVIDEO))
SetGadgetData(#GAD_FR_LS_LISTEICONES03,3)
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES03,0,#PB_ListIcon_ColumnWidth,100,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES03,-1,"Titre",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES03,1,"Durée",56)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES03,2,"Description",200)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES03,3,"URL",100)
;}
Case 4 ;{ Recherche Versions par Master
; Versions
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES01,0,#PB_ListIcon_ColumnWidth,80,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES01,-1,"ID",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,1,"Titre",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,2,"Statut",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,3,"Année",64)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,4,"Formats principaux",80)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,5,"Format",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,6,"Label",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,7,"Pays",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,8,"No catalogue",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,9,"Miniature",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,10,"Lien URL",100)
;}
Case 5 ;{ Recherche générale
SetGadgetData(#GAD_FR_BT_LIENURI,#GAD_FR_CP_LIENURI)
SetGadgetAttribute(#GAD_FR_BT_LIENURI,#PB_Button_Image,ImageID(#IMG_DISCOGS))
; Resultats
SetGadgetItemAttribute(#GAD_FR_LS_LISTEICONES01,0,#PB_ListIcon_ColumnWidth,80,0)
SetGadgetItemText(#GAD_FR_LS_LISTEICONES01,-1,"ID",0)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,1,"Type",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,2,"Nom/Titre",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,3,"Année",64)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,4,"Pays",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,5,"ID master",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,6,"URL master",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,7,"No catalogue",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,8,"Pochette",80)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,9,"Formats",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,10,"Labels",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,11,"Codes-barres",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,12,"Genres",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,13,"Styles",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,14,"Miniature",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,15,"Identifiant URI",100)
AddGadgetColumn(#GAD_FR_LS_LISTEICONES01,16,"Lien URL",100)
; URL master
SetGadgetData(#GAD_FR_BT_BOUTON01,#GAD_FR_CP_CHAMP06)
SetGadgetAttribute(#GAD_FR_BT_BOUTON01,#PB_Button_Image,ImageID(#IMG_DISCOGS))
; Pochette
SetGadgetData(#GAD_FR_BT_BOUTON02,#GAD_FR_CP_CHAMP08)
SetGadgetAttribute(#GAD_FR_BT_BOUTON02,#PB_Button_Image,ImageID(#IMG_DISCOGS))
;}
EndSelect
EndIf
EndIf
ProcedureReturn ValeurRetour
EndProcedure
; ╔═══════════════════════════════╗
; ║ PROCEDURES FENETRE PRINCIPALE ║
; ╚═══════════════════════════════╝
Procedure Pc_FenPrincipale_GestionConteneursParametres()
Protected.b NoItem=GetGadgetState(#GAD_FP_LS_TYPESRECHERCHE)
Protected.u ConteneurActif=GetGadgetData(#GAD_FP_LS_TYPESRECHERCHE),ConteneurSelectionne=GetGadgetItemData(#GAD_FP_LS_TYPESRECHERCHE,NoItem)
If ConteneurSelectionne<>ConteneurActif
HideGadget(ConteneurActif,#True)
HideGadget(ConteneurSelectionne,#False)
SetGadgetData(#GAD_FP_LS_TYPESRECHERCHE,ConteneurSelectionne)
SetActiveGadget(GetGadgetData(ConteneurSelectionne))
EndIf
EndProcedure
Procedure Pc_FenPrincipale_GestionEvenements()
Protected.l NoFenetre,Evenmt,EvenmtMenu,TypeEvenmt,NoGadget
Repeat
NoFenetre=EventWindow()
Evenmt=WaitWindowEvent()
TypeEvenmt=EventType()
Select Evenmt
Case #PB_Event_ActivateWindow
Case #PB_Event_DeactivateWindow
Case #PB_Event_Gadget
NoGadget=EventGadget()
Select TypeEvenmt
Case #PB_EventType_Change
Select NoGadget
Case #GAD_FR_LS_IMAGES:Pc_Affichage_Image(NoGadget)
Case #GAD_FR_LS_LISTEICONES01:Pc_Affichage_DonneesListe()
EndSelect
Case #PB_EventType_LeftClick
Select NoGadget
Case #GAD_FP_LS_TYPESRECHERCHE:Pc_FenPrincipale_GestionConteneursParametres()
Case #GAD_FP_BT_RECHERCHER:Pc_DISCOGS_LancementRecherche()
Case #GAD_FR_BT_LIENURI,#GAD_FR_BT_LIENURL,#GAD_FR_BT_LIENIMAGE,#GAD_FR_BT_BOUTON01,#GAD_FR_BT_BOUTON02,#GAD_FR_BT_BOUTON03,#GAD_FR_BT_BOUTON04,#GAD_FR_BT_BOUTON05,#GAD_FR_BT_BOUTON06:Pc_Ouverture_LienInternet(NoGadget)
EndSelect
EndSelect
Case #PB_Event_CloseWindow
Select NoFenetre
Case #FEN_RESULTATS:CloseWindow(#FEN_RESULTATS)
Case #FEN_RECHERCHEDB
If IsWindow(#FEN_RESULTATS):CloseWindow(#FEN_RESULTATS):EndIf
End
EndSelect
Case #PB_Event_Menu
EvenmtMenu=EventMenu()
Select EvenmtMenu
Case #PB_Shortcut_Escape
EndSelect
Case #WM_KEYDOWN
Case #WM_KEYUP
Case #WM_SYSKEYDOWN
Case #WM_SYSKEYUP
Case #WM_SYSCOMMAND
EndSelect
ForEver
EndProcedure
Procedure Pc_FenPrincipale_Affichage()
Protected.a ValeurRetour
Protected.s ChaineXML
ChaineXML="<?xml version='1.0' encoding='UTF-16'?>"+Chr(10)+ ;{
"<dialogs>"+Chr(10)+
" <window id='"+Str(#FEN_RECHERCHEDB)+"' name='FEN_RECHERCHEDB' text='"+Mc_FormatageXML("Recherche Base de données DISCOGS")+"' xpos='0' ypos='0' width='600' height='160' minwidth='auto' minheight='auto' maxheight='auto' margin='top:20,bottom:0' flags='#PB_Window_SystemMenu|#PB_Window_SizeGadget|#PB_Window_MinimizeGadget|#PB_Window_Invisible|#PB_Window_ScreenCentered'>"+Chr(10)+
" <vbox spacing='2'>"+Chr(10)+
" <hbox expand='item:3' spacing='8'>"+Chr(10)+
" <hbox expand='no' align='' spacing='24'>"+Chr(10)+
" <empty/> "+Chr(10)+
" </hbox>"+Chr(10)+
" <frame id='"+Str(#GAD_FP_CD_TYPERECHERCHE)+"' name='GAD_FP_CD_TYPERECHERCHE' text='"+Mc_FormatageXML("Type de recherche : ")+"'>"+Chr(10)+
" <listview id='"+Str(#GAD_FP_LS_TYPESRECHERCHE)+"' name='GAD_FP_LS_TYPESRECHERCHE' width='200'/> "+Chr(10)+
" </frame>"+Chr(10)+
" <frame id='"+Str(#GAD_FP_CD_PARAMETRESRECHERCHE)+"' name='GAD_FP_CD_PARAMETRESRECHERCHE' text='"+Mc_FormatageXML("Paramètres : ")+"'>"+Chr(10)+
" <multibox id='"+Str(#GAD_FP_BM_PARAMETRES)+"'>"+Chr(10)+
" <container id='"+Str(#GAD_FP_CT_PARAMETRESARTISTE)+"' name='GAD_FP_CT_PARAMETRESARTISTE'>"+Chr(10)+
" <gridbox id='"+Str(#GAD_FP_BG_PARAMETRESARTISTE)+"' name='GAD_FP_BG_PARAMETRESARTISTE' columns='2' rowspacing='12' colexpand='item:2'>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMARTISTE_IDARTISTE)+"' name='GAD_FP_LIB_PARAMARTISTE_IDARTISTE' text='"+Mc_FormatageXML("ID artiste* :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMARTISTE_IDARTISTE)+"' name='GAD_FP_CP_PARAMARTISTE_IDARTISTE' flags='#PB_String_Numeric'/>"+Chr(10)+
" </gridbox> "+Chr(10)+
" </container>"+Chr(10)+
" <container id='"+Str(#GAD_FP_CT_PARAMETRESPARUTIONSARTISTE)+"' name='GAD_FP_CT_PARAMETRESPARUTIONSARTISTE' invisible='yes'>"+Chr(10)+
" <gridbox id='"+Str(#GAD_FP_BG_PARAMETRESPARUTIONSARTISTE)+"' name='GAD_FP_BG_PARAMETRESPARUTIONSARTISTE' columns='2' rowspacing='12' colexpand='item:2'>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMPARUTIONSARTISTE_IDARTISTE)+"' name='GAD_FP_LIB_PARAMPARUTIONSARTISTE_IDARTISTE' text='"+Mc_FormatageXML("ID artiste* :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMPARUTIONSARTISTE_IDARTISTE)+"' name='GAD_FP_CP_PARAMPARUTIONSARTISTE_IDARTISTE' flags='#PB_String_Numeric'/>"+Chr(10)+
" <empty/>"+Chr(10)+
" <empty/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMPARUTIONSARTISTE_TRI)+"' name='GAD_FP_LIB_PARAMPARUTIONSARTISTE_TRI' text='"+Mc_FormatageXML("Tri par :")+"'/>"+Chr(10)+
" <combobox id='"+Str(#GAD_FP_LS_PARAMPARUTIONSARTISTE_TRI)+"' name='GAD_FP_LS_PARAMPARUTIONSARTISTE_TRI'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMPARUTIONSARTISTE_ORDRETRI)+"' name='GAD_FP_LIB_PARAMPARUTIONSARTISTE_ORDRETRI' text='"+Mc_FormatageXML("Ordre de tri :")+"'/>"+Chr(10)+
" <combobox id='"+Str(#GAD_FP_LS_PARAMPARUTIONSARTISTE_ORDRETRI)+"' name='GAD_FP_LS_PARAMPARUTIONSARTISTE_ORDRETRI'/>"+Chr(10)+
" <empty/>"+Chr(10)+
" <empty/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMPARUTIONSARTISTE_ITEMSPAGE)+"' name='GAD_FP_LIB_PARAMPARUTIONSARTISTE_ITEMSPAGE' text='"+Mc_FormatageXML("Items par page :")+"'/>"+Chr(10)+
" <combobox id='"+Str(#GAD_FP_LS_PARAMPARUTIONSARTISTE_ITEMSPAGE)+"' name='GAD_FP_LS_PARAMPARUTIONSARTISTE_ITEMSPAGE'/>"+Chr(10)+
" </gridbox> "+Chr(10)+
" </container>"+Chr(10)+
" <container id='"+Str(#GAD_FP_CT_PARAMETRESPARUTION)+"' name='GAD_FP_CT_PARAMETRESPARUTION' invisible='yes'>"+Chr(10)+
" <gridbox id='"+Str(#GAD_FP_BG_PARAMETRESPARUTION)+"' name='GAD_FP_BG_PARAMETRESPARUTION' columns='2' rowspacing='12' colexpand='item:2'>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMPARUTION_IDPARUTION)+"' name='GAD_FP_LIB_PARAMPARUTION_IDPARUTION' text='"+Mc_FormatageXML("ID parution* :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMPARUTION_IDPARUTION)+"' name='GAD_FP_CP_PARAMPARUTION_IDPARUTION' flags='#PB_String_Numeric'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMPARUTION_MONNAIE)+"' name='GAD_FP_LIB_PARAMPARUTION_MONNAIE' text='"+Mc_FormatageXML("Monnaie :")+"'/>"+Chr(10)+
" <combobox id='"+Str(#GAD_FP_LS_PARAMPARUTION_MONNAIE)+"' name='GAD_FP_LS_PARAMPARUTION_MONNAIE' flags='#PB_ComboBox_Editable'/>"+Chr(10)+
" </gridbox> "+Chr(10)+
" </container>"+Chr(10)+
" <container id='"+Str(#GAD_FP_CT_PARAMETRESMASTER)+"' name='GAD_FP_CT_PARAMETRESMASTER' invisible='yes'>"+Chr(10)+
" <gridbox id='"+Str(#GAD_FP_BG_PARAMETRESMASTER)+"' name='GAD_FP_BG_PARAMETRESMASTER' columns='2' rowspacing='12' colexpand='item:2'>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMMASTER_IDMASTER)+"' name='GAD_FP_LIB_PARAMMASTER_IDMASTER' text='"+Mc_FormatageXML("ID master* :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMMASTER_IDMASTER)+"' name='GAD_FP_CP_PARAMMASTER_IDMASTER' flags='#PB_String_Numeric'/>"+Chr(10)+
" </gridbox> "+Chr(10)+
" </container> "+Chr(10)+
" <container id='"+Str(#GAD_FP_CT_PARAMETRESVERSIONSMASTER)+"' name='GAD_FP_CT_PARAMETRESVERSIONSMASTER' invisible='yes'>"+Chr(10)+
" <gridbox id='"+Str(#GAD_FP_BG_PARAMETRESVERSIONSMASTER)+"' name='GAD_FP_BG_PARAMETRESVERSIONSMASTER' columns='2' rowspacing='12' colexpand='item:2'>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMVERSIONSMASTER_IDMASTER)+"' name='GAD_FP_LIB_PARAMVERSIONSMASTER_IDMASTER' text='"+Mc_FormatageXML("ID master* :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMVERSIONSMASTER_IDMASTER)+"' name='GAD_FP_CP_PARAMVERSIONSMASTER_IDMASTER' flags='#PB_String_Numeric'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMVERSIONSMASTER_FORMAT)+"' name='GAD_FP_LIB_PARAMVERSIONSMASTER_FORMAT' text='"+Mc_FormatageXML("Format :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMVERSIONSMASTER_FORMAT)+"' name='GAD_FP_CP_PARAMVERSIONSMASTER_FORMAT'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMVERSIONSMASTER_ANNEE)+"' name='GAD_FP_LIB_PARAMVERSIONSMASTER_ANNEE' text='"+Mc_FormatageXML("Année :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMVERSIONSMASTER_ANNEE)+"' name='GAD_FP_CP_PARAMVERSIONSMASTER_ANNEE' flags='#PB_String_Numeric'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMVERSIONSMASTER_LABEL)+"' name='GAD_FP_LIB_PARAMVERSIONSMASTER_LABEL' text='"+Mc_FormatageXML("Label :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMVERSIONSMASTER_LABEL)+"' name='GAD_FP_CP_PARAMVERSIONSMASTER_LABEL'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMVERSIONSMASTER_PAYS)+"' name='GAD_FP_LIB_PARAMVERSIONSMASTER_PAYS' text='"+Mc_FormatageXML("Pays :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMVERSIONSMASTER_PAYS)+"' name='GAD_FP_CP_PARAMVERSIONSMASTER_PAYS'/>"+Chr(10)+
" <empty/>"+Chr(10)+
" <empty/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMVERSIONSMASTER_TRI)+"' name='GAD_FP_LIB_PARAMVERSIONSMASTER_TRI' text='"+Mc_FormatageXML("Tri par :")+"'/>"+Chr(10)+
" <combobox id='"+Str(#GAD_FP_LS_PARAMVERSIONSMASTER_TRI)+"' name='GAD_FP_LS_PARAMVERSIONSMASTER_TRI'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMVERSIONSMASTER_ORDRETRI)+"' name='GAD_FP_LIB_PARAMVERSIONSMASTER_ORDRETRI' text='"+Mc_FormatageXML("Ordre de tri :")+"'/>"+Chr(10)+
" <combobox id='"+Str(#GAD_FP_LS_PARAMVERSIONSMASTER_ORDRETRI)+"' name='GAD_FP_LS_PARAMVERSIONSMASTER_ORDRETRI'/>"+Chr(10)+
" <empty/>"+Chr(10)+
" <empty/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMVERSIONSMASTER_ITEMSPAGE)+"' name='GAD_FP_LIB_PARAMVERSIONSMASTER_ITEMSPAGE' text='"+Mc_FormatageXML("Items par page :")+"'/>"+Chr(10)+
" <combobox id='"+Str(#GAD_FP_LS_PARAMVERSIONSMASTER_ITEMSPAGE)+"' name='GAD_FP_LS_PARAMVERSIONSMASTER_ITEMSPAGE'/>"+Chr(10)+
" </gridbox> "+Chr(10)+
" </container> "+Chr(10)+
" <container id='"+Str(#GAD_FP_CT_PARAMETRESRECHERCHEGENERALE)+"' name='GAD_FP_CT_PARAMETRESRECHERCHEGENERALE' invisible='yes'>"+Chr(10)+
" <gridbox id='"+Str(#GAD_FP_BG_PARAMETRESRECHERCHEGENERALE)+"' name='GAD_FP_BG_PARAMETRESRECHERCHEGENERALE' columns='2' rowspacing='12' colexpand='item:2'>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_TEXTE)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_TEXTE' text='"+Mc_FormatageXML("Texte :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_TEXTE)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_TEXTE'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_TYPE)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_TYPE' text='"+Mc_FormatageXML("Type :")+"'/>"+Chr(10)+
" <combobox id='"+Str(#GAD_FP_LS_PARAMRECHERCHEGALE_TYPE)+"' name='GAD_FP_LS_PARAMRECHERCHEGALE_TYPE'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_ARTISTETITRE)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_ARTISTETITRE' text='"+Mc_FormatageXML("Artiste - Titre :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_ARTISTETITRE)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_ARTISTETITRE'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_TITREPARUTION)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_TITREPARUTION' text='"+Mc_FormatageXML("Titre parution :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_TITREPARUTION)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_TITREPARUTION'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_ARTISTE)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_ARTISTE' text='"+Mc_FormatageXML("Artiste :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_ARTISTE)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_ARTISTE'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_ARTISTEVARIATION)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_ARTISTEVARIATION' text='"+Mc_FormatageXML("Variation non artiste :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_ARTISTEVARIATION)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_ARTISTEVARIATION'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_TITREPISTE)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_TITREPISTE' text='"+Mc_FormatageXML("Titre piste :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_TITREPISTE)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_TITREPISTE'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_CREDIT)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_CREDIT' text='"+Mc_FormatageXML("Crédit :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_CREDIT)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_CREDIT'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_FORMAT)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_FORMAT' text='"+Mc_FormatageXML("Format :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_FORMAT)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_FORMAT'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_ANNEE)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_ANNEE' text='"+Mc_FormatageXML("Année :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_ANNEE)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_ANNEE' flags='#PB_String_Numeric'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_GENRE)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_GENRE' text='"+Mc_FormatageXML("Genre :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_GENRE)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_GENRE'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_STYLE)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_STYLE' text='"+Mc_FormatageXML("Style :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_STYLE)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_STYLE'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_LABEL)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_LABEL' text='"+Mc_FormatageXML("Label :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_LABEL)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_LABEL'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_PAYS)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_PAYS' text='"+Mc_FormatageXML("Pays :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_PAYS)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_PAYS'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_NOCATALOGUE)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_NOCATALOGUE' text='"+Mc_FormatageXML("No catalogue :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_NOCATALOGUE)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_NOCATALOGUE'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_CODEBARRE)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_CODEBARRE' text='"+Mc_FormatageXML("Code barre :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_CODEBARRE)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_CODEBARRE'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_DEPOSANT)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_DEPOSANT' text='"+Mc_FormatageXML("Déposant :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_DEPOSANT)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_DEPOSANT'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_CONTRIBUTEUR)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_CONTRIBUTEUR' text='"+Mc_FormatageXML("Contributeur :")+"'/>"+Chr(10)+
" <string id='"+Str(#GAD_FP_CP_PARAMRECHERCHEGALE_CONTRIBUTEUR)+"' name='GAD_FP_CP_PARAMRECHERCHEGALE_CONTRIBUTEUR'/>"+Chr(10)+
" <empty/>"+Chr(10)+
" <checkbox id='"+Str(#GAD_FR_CC_RECHERCHEEXACTE)+"' name='GAD_FR_CC_RECHERCHEEXACTE' text='"+Mc_FormatageXML(" Recherche exacte")+"'/>"+Chr(10)+
" <empty/>"+Chr(10)+
" <empty/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PARAMRECHERCHEGALE_ITEMSPAGE)+"' name='GAD_FP_LIB_PARAMRECHERCHEGALE_ITEMSPAGE' text='"+Mc_FormatageXML("Items par page :")+"'/>"+Chr(10)+
" <combobox id='"+Str(#GAD_FP_LS_PARAMRECHERCHEGALE_ITEMSPAGE)+"' name='GAD_FP_LS_PARAMRECHERCHEGALE_ITEMSPAGE'/>"+Chr(10)+
" </gridbox> "+Chr(10)+
" </container> "+Chr(10)+
" </multibox> "+Chr(10)+
" </frame>"+Chr(10)+
" <hbox expand='no' align='' spacing='24'>"+Chr(10)+
" <empty width='8'/> "+Chr(10)+
" </hbox> "+Chr(10)+
" </hbox>"+Chr(10)+
" <empty height='8'/>"+Chr(10)+
" <hbox expand='item:7' spacing='4'>"+Chr(10)+
" <empty width='12'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_ELEMENTS)+"' name='GAD_FP_LIB_ELEMENTS' text='"+Mc_FormatageXML("Nb éléments trouvés : ")+"'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_NBELEMENTS)+"' name='GAD_FP_LIB_NBELEMENTS' text='"+Mc_FormatageXML(" ")+"' width='72'/>"+Chr(10)+
" <empty width='12'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_PAGE)+"' name='GAD_FP_LIB_PAGE' text='"+Mc_FormatageXML("Page : ")+"' invisible='yes'/>"+Chr(10)+
" <text id='"+Str(#GAD_FP_LIB_NBPAGES)+"' name='GAD_FP_LIB_NBPAGES' text='"+Mc_FormatageXML(" ")+"' width='72' invisible='yes'/>"+Chr(10)+
" <empty/>"+Chr(10)+
" <hbox expand='no' align='right'>"+Chr(10)+
" <button id='"+Str(#GAD_FP_BT_RECHERCHER)+"' name='GAD_FP_BT_RECHERCHER' text='"+Mc_FormatageXML("Rechercher")+"'/>"+Chr(10)+
" <empty width='8'/>"+Chr(10)+
" </hbox> "+Chr(10)+
" </hbox>"+Chr(10)+
" <empty height='4'/>"+Chr(10)+
" <progressbar id='"+Str(#GAD_FP_BP_JAUGE)+"' name='GAD_FP_BP_JAUGE' height='4' min='0' max='100'/>"+Chr(10)+
" <empty height='2'/> "+Chr(10)+
" </vbox> "+Chr(10)+
" </window>"+Chr(10)+
"</dialogs>" ;}
ValeurRetour=Fc_Fenetres_OuvertureDialogueXML(#ARBRE_XML,#XML_FENPRINCIPALE,ChaineXML,"FEN_RECHERCHEDB")
If ValeurRetour
; Ajout items liste types de recherche
AddGadgetItem(#GAD_FP_LS_TYPESRECHERCHE,0,"Artiste") ; Artist
AddGadgetItem(#GAD_FP_LS_TYPESRECHERCHE,1,"Parutions artiste") ; Artist releases
AddGadgetItem(#GAD_FP_LS_TYPESRECHERCHE,2,"Parution") ; Release
AddGadgetItem(#GAD_FP_LS_TYPESRECHERCHE,3,"Master") ; Master release
AddGadgetItem(#GAD_FP_LS_TYPESRECHERCHE,4,"Versions master") ; Master release versions
AddGadgetItem(#GAD_FP_LS_TYPESRECHERCHE,5,"Recherche générale") ; Recherche générale
SetGadgetState(#GAD_FP_LS_TYPESRECHERCHE,0)
;
SetGadgetData(#GAD_FP_LS_TYPESRECHERCHE,#GAD_FP_CT_PARAMETRESARTISTE)
SetGadgetItemData(#GAD_FP_LS_TYPESRECHERCHE,0,#GAD_FP_CT_PARAMETRESARTISTE)
SetGadgetItemData(#GAD_FP_LS_TYPESRECHERCHE,1,#GAD_FP_CT_PARAMETRESPARUTIONSARTISTE)
SetGadgetItemData(#GAD_FP_LS_TYPESRECHERCHE,2,#GAD_FP_CT_PARAMETRESPARUTION)
SetGadgetItemData(#GAD_FP_LS_TYPESRECHERCHE,3,#GAD_FP_CT_PARAMETRESMASTER)
SetGadgetItemData(#GAD_FP_LS_TYPESRECHERCHE,4,#GAD_FP_CT_PARAMETRESVERSIONSMASTER)
SetGadgetItemData(#GAD_FP_LS_TYPESRECHERCHE,5,#GAD_FP_CT_PARAMETRESRECHERCHEGENERALE)
;{ Gadgets Recherche Paramètres Artiste
SetGadgetData(#GAD_FP_CT_PARAMETRESARTISTE,#GAD_FP_CP_PARAMARTISTE_IDARTISTE)
SetGadgetData(#GAD_FP_CT_PARAMETRESPARUTIONSARTISTE,#GAD_FP_CP_PARAMPARUTIONSARTISTE_IDARTISTE)
SetGadgetData(#GAD_FP_CT_PARAMETRESPARUTION,#GAD_FP_CP_PARAMPARUTION_IDPARUTION)
SetGadgetData(#GAD_FP_CT_PARAMETRESMASTER,#GAD_FP_CP_PARAMMASTER_IDMASTER)
SetGadgetData(#GAD_FP_CT_PARAMETRESVERSIONSMASTER,#GAD_FP_CP_PARAMVERSIONSMASTER_IDMASTER)
SetGadgetData(#GAD_FP_CT_PARAMETRESRECHERCHEGENERALE,#GAD_FP_CP_PARAMRECHERCHEGALE_TEXTE)
;}
;{ Gadgets Recherche Paramètres Parutions Artiste
AddGadgetItem(#GAD_FP_LS_PARAMPARUTIONSARTISTE_TRI,0,"")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTIONSARTISTE_TRI,1,"Titre")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTIONSARTISTE_TRI,2,"Format")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTIONSARTISTE_TRI,3,"Année")
;
AddGadgetItem(#GAD_FP_LS_PARAMPARUTIONSARTISTE_ORDRETRI,0,"Croissant")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTIONSARTISTE_ORDRETRI,1,"Décroissant")
;
AddGadgetItem(#GAD_FP_LS_PARAMPARUTIONSARTISTE_ITEMSPAGE,0,"25")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTIONSARTISTE_ITEMSPAGE,1,"50")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTIONSARTISTE_ITEMSPAGE,2,"100")
SetGadgetState(#GAD_FP_LS_PARAMPARUTIONSARTISTE_ITEMSPAGE,0)
;}
;{ Gadgets Recherche Paramètres Parution
AddGadgetItem(#GAD_FP_LS_PARAMPARUTION_MONNAIE,0,"")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTION_MONNAIE,1,"Euro (EUR)")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTION_MONNAIE,2,"Couronne suédoise (SEK)")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTION_MONNAIE,3,"Dollar australien (AUD)")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTION_MONNAIE,4,"Dollar canadien (CAD)")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTION_MONNAIE,5,"Dollar néo-zélandais (NZD)")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTION_MONNAIE,6,"Dollar US (USD)")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTION_MONNAIE,7,"Franc suisse (CHF)")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTION_MONNAIE,8,"Livre sterling (GBP)")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTION_MONNAIE,9,"Peso mexicain (MXN)")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTION_MONNAIE,10,"Rand sud-affricain (ZAR)")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTION_MONNAIE,11,"Réal brésilien (BRL)")
AddGadgetItem(#GAD_FP_LS_PARAMPARUTION_MONNAIE,12,"Yen (JPY)")
SetGadgetState(#GAD_FP_LS_PARAMPARUTION_MONNAIE,0)
;}
;{ Gadgets Paramètres Versions Master
AddGadgetItem(#GAD_FP_LS_PARAMVERSIONSMASTER_TRI,0,"")
AddGadgetItem(#GAD_FP_LS_PARAMVERSIONSMASTER_TRI,1,"Titre")
AddGadgetItem(#GAD_FP_LS_PARAMVERSIONSMASTER_TRI,2,"Format")
AddGadgetItem(#GAD_FP_LS_PARAMVERSIONSMASTER_TRI,3,"Année")
AddGadgetItem(#GAD_FP_LS_PARAMVERSIONSMASTER_TRI,4,"Pays")
AddGadgetItem(#GAD_FP_LS_PARAMVERSIONSMASTER_TRI,5,"Label")
AddGadgetItem(#GAD_FP_LS_PARAMVERSIONSMASTER_TRI,6,"No catalogue")
SetGadgetState(#GAD_FP_LS_PARAMVERSIONSMASTER_TRI,0)
;
AddGadgetItem(#GAD_FP_LS_PARAMVERSIONSMASTER_ORDRETRI,0,"Croissant")
AddGadgetItem(#GAD_FP_LS_PARAMVERSIONSMASTER_ORDRETRI,1,"Décroissant")
;
AddGadgetItem(#GAD_FP_LS_PARAMVERSIONSMASTER_ITEMSPAGE,0,"25")
AddGadgetItem(#GAD_FP_LS_PARAMVERSIONSMASTER_ITEMSPAGE,1,"50")
AddGadgetItem(#GAD_FP_LS_PARAMVERSIONSMASTER_ITEMSPAGE,2,"100")
SetGadgetState(#GAD_FP_LS_PARAMVERSIONSMASTER_ITEMSPAGE,0)
;}
;{ Gadgets Paramètres Recherche générale
AddGadgetItem(#GAD_FP_LS_PARAMRECHERCHEGALE_TYPE,0,"")
AddGadgetItem(#GAD_FP_LS_PARAMRECHERCHEGALE_TYPE,1,"Artiste")
AddGadgetItem(#GAD_FP_LS_PARAMRECHERCHEGALE_TYPE,2,"Parution")
AddGadgetItem(#GAD_FP_LS_PARAMRECHERCHEGALE_TYPE,3,"Master")
AddGadgetItem(#GAD_FP_LS_PARAMRECHERCHEGALE_TYPE,4,"Label")
SetGadgetState(#GAD_FP_LS_PARAMRECHERCHEGALE_TYPE,0)
AddGadgetItem(#GAD_FP_LS_PARAMRECHERCHEGALE_ITEMSPAGE,0,"25")
AddGadgetItem(#GAD_FP_LS_PARAMRECHERCHEGALE_ITEMSPAGE,1,"50")
AddGadgetItem(#GAD_FP_LS_PARAMRECHERCHEGALE_ITEMSPAGE,2,"100")
SetGadgetState(#GAD_FP_LS_PARAMRECHERCHEGALE_ITEMSPAGE,0)
;}
HideWindow(#FEN_RECHERCHEDB,#False)
SetActiveGadget(#GAD_FP_CP_PARAMARTISTE_IDARTISTE)
Pc_FenPrincipale_GestionEvenements()
EndIf
EndProcedure
;-══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
; ╔══════════════════╗
; ║ MODULE PRINCIPAL ║
; ╚══════════════════╝
Pc_FenPrincipale_Affichage()
End
;-══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
; ╔═════════════════╗
; ║ SECTION DONNEES ║
; ╚═════════════════╝
;{
DataSection
ImageDiscogs_Debut: ;{ D:\FICHIERS\Fichiers PureBasic\GestionAlbumsAudio\Ressources\Images\ImgBtDiscogs.png
Data.q $0A1A0A0D474E5089,$524448490D000000,$1000000010000000,$FFF31F0000000608,$414449F401000061,$548BBFD3658D3854,$CEF77BCFF1C61857,$CA521251161971DE
Data.q $F885BB62088B2BF6,$A4C4121081295807,$2256D5885A582408,$9A225629622088D8,$7F87E4A216362C22,$18B6290840C12C80,$99EE2D799D9DEF06,$B9E79F754E17D465
Data.q $683327C2739F7CE7,$4427996D8CB8939A,$EDB699DC5D82F648,$799987192C7D659B,$9902A938C446DF13,$BA0F4F999E602229,$C4334D0602CFEBEE,$550E4C431CC69C33
Data.q $39F8DFC4D88B5099,$48AAFBDD741F6F33,$948C3A025D73156E,$0F732DB88918881D,$4D0620B71116B83B,$8B58EF64989785B3,$4D87782117563188,$D4CE4C30A8AB80FC
Data.q $FE7F44C1EB18D805,$171A8096BF1D7051,$71CCAAC6A222FE65,$99C7125DB1A95C44,$C43C0DC447DE0A39,$B0C44D7321B012DB,$D3418ED854444D84,$38A3ED3D607B32B4
Data.q $FE12ABE223AF9993,$8C254BFB03F85B0E,$875459E5846343AA,$E1C8DF43F0EACCB9,$79C639944E5BD854,$321B119BFC3FE06C,$57BF496D622C61CF,$38889F10BCD86FE9
Data.q $82A7274E359971C0,$67656B595D2E7A0B,$AAF112DD5D5831BB,$EFE85E3DF18F0134,$2A5EB9997789EC86,$BAED356CED97F4AE,$DFCC5E7DD0AF713F,$98BF428FD8FB6814
Data.q $FBFB6DA60F47E587,$898F326FF5D4AC0A,$A62D63951E08B1F8,$970BF8E3CACC11C3,$3418F463F4D9B3E6,$0F4B5444EFCC8ECD,$69A7E3EE3AC8D169,$AEAA80D3E5604EDB
Data.q $BE2232F88891C7FF,$DB4F2E09E0FF00C0,$1FF42E9B367CEEF6,$CB8E527ABE7AFB00,$4E4549000000002B
Data.b $44,$AE,$42,$60,$82
ImageDiscogs_Fin: ;}
ImageLectureVideo_Debut: ;{ D:\FICHIERS\Fichiers Graphiques\Axialis Ribbon & Toolbar Toolbar Stock Icons\AxialisIcons-RibbonToolbar-Multimedia-1.0.001\png_format_32bpp_alpha\16x16\movie2-control_play-Hot.png
Data.q $0A1A0A0D474E5089,$524448490D000000,$1000000010000000,$FFF31F0000000608,$5948700900000061,$0E0000C40E000073,$00001B0E2B9501C4,$8D38544144494502
Data.q $C51C5154484D9395,$2C0A1181AF79CF7F,$929B418623709AC9,$248422D9E3E71114,$7D041A8D5C2C098B,$28B4D1372D2834AC,$B18BE2A3720FB28A,$4445987322709408
Data.q $2E445B0B82286450,$BDF19AF4E345D324,$85D1666BF1D18B7F,$CFFCF73DCF72F70B,$244F1C0810255CFF,$F55CB970C7FC4312,$58585D40187870E1,$869A680052A54A18
Data.q $967676697ACEEDDB,$A00280439A699C55,$D53C2A56C1EA066E,$DC63DF461F00BD99,$1113E7CF8E5D9EBA,$532FDFBF36911369,$4431116122283222,$9C66C8893E445FA4
Data.q $C8676DB6A8222088,$96032C0580DA2556,$6AA0070D9079CB05,$9D38010DEBD7869A,$E0F16DC2E5C69CCE,$5B618E275508F3F5,$9392386C4E5A5620,$DB468D127CF9F158
Data.q $3999A6990F5D7401,$B4520C1826E3DA2C,$95940E76FE5710BB,$B1B1A1EBAE888146,$FDD006D5721774B1,$F9DBB8A77BB701F0,$8B4A86F4BDBE9395,$4D7974B85D341DF2
Data.q $5341CFACAD6D6D41,$0CA0146A9E151767,$F0626B9C08FB2A50,$A5A4EFF69CD80189,$A37D17F29EA390AE,$66A9E2383C5BCD8B,$340B4900C53A5D3C,$47E1052A48D8BC68
Data.q $87294F04F377E106,$8B2CB55F7C395D9E,$135353500ED62C58,$696D9049202481B2,$37D54F2B1C1C44D2,$A4A37E9E84D7F237,$4E9C0F06C974D5E7,$0AFE41602E959127
Data.q $6973000235A5EFC1,$899C78F10721BD6D,$953CBC8311898311,$03FA58B2C13A377D,$5E6FE324CD24070E,$F2E7E56B6AE49D82,$FA828282D537C583,$9C9C9C6FCC999999
Data.q $81CDCDCC28ABBB4C,$2DF1F6F9E73F8B06,$BAEFDF283B752D00,$C572A86B5DA13DF7,$672E2BF9B674CD59,$3C4062A6997F1E3A,$68E819DD747FBB67,$993FCC7AD774FF38
Data.q $00ECFC9513B324C2,$AE444E4549000000
Data.b $42,$60,$82
ImageLectureVideo_Fin: ;}
EndDataSection
;}
; IDE Options = PureBasic 6.02 LTS (Windows - x64)
; CursorPosition = 1
; FirstLine = 1
; Folding = AAAAAAACCA+----dPhyfVB3HA5NAA7--rBAAAAAAAUAw
; EnableXP
; CompileSourceDirectory
; Debugger = Standalone
; EnablePurifier