zf_backdb.bas 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. Version =20
  2. VersionRequired =20
  3. Begin Form
  4. PopUp = NotDefault
  5. Modal = NotDefault
  6. RecordSelectors = NotDefault
  7. NavigationButtons = NotDefault
  8. DividingLines = NotDefault
  9. AllowDesignChanges = NotDefault
  10. DefaultView =0
  11. ScrollBars =2
  12. PictureAlignment =2
  13. DatasheetGridlinesBehavior =3
  14. GridY =10
  15. Width =2665
  16. DatasheetFontHeight =11
  17. ItemSuffix =2
  18. Left =5475
  19. Top =2430
  20. Right =16740
  21. Bottom =14565
  22. DatasheetGridlinesColor =14806254
  23. RecSrcDt = Begin
  24. 0x6bcb1dd4ac89e440
  25. End
  26. OnOpen ="[Event Procedure]"
  27. DatasheetFontName ="Calibri"
  28. FilterOnLoad =0
  29. ShowPageMargins =0
  30. DisplayOnSharePointSite =1
  31. DatasheetAlternateBackColor =15921906
  32. DatasheetGridlinesColor12 =0
  33. FitToScreen =1
  34. DatasheetBackThemeColorIndex =1
  35. BorderThemeColorIndex =3
  36. ThemeFontIndex =1
  37. ForeThemeColorIndex =0
  38. AlternateBackThemeColorIndex =1
  39. AlternateBackShade =95.0
  40. Begin
  41. Begin Label
  42. BackStyle =0
  43. FontSize =11
  44. FontName ="Calibri"
  45. ThemeFontIndex =1
  46. BackThemeColorIndex =1
  47. BorderThemeColorIndex =0
  48. BorderTint =50.0
  49. ForeThemeColorIndex =0
  50. ForeTint =50.0
  51. GridlineThemeColorIndex =1
  52. GridlineShade =65.0
  53. End
  54. Begin ListBox
  55. BorderLineStyle =0
  56. Width =1701
  57. Height =1417
  58. LabelX =-1701
  59. FontSize =11
  60. FontName ="Calibri"
  61. AllowValueListEdits =1
  62. InheritValueList =1
  63. ThemeFontIndex =1
  64. BackThemeColorIndex =1
  65. BorderThemeColorIndex =1
  66. BorderShade =65.0
  67. ForeThemeColorIndex =0
  68. ForeTint =75.0
  69. GridlineThemeColorIndex =1
  70. GridlineShade =65.0
  71. End
  72. Begin Section
  73. Height =3004
  74. Name ="Détail"
  75. AlternateBackColor =15921906
  76. AlternateBackThemeColorIndex =1
  77. AlternateBackShade =95.0
  78. BackThemeColorIndex =1
  79. Begin
  80. Begin ListBox
  81. OverlapFlags =85
  82. IMESentenceMode =3
  83. Width =2665
  84. Height =3001
  85. FontWeight =700
  86. ForeColor =4210752
  87. BorderColor =10921638
  88. Name ="lst_modes"
  89. RowSourceType ="Table/Query"
  90. RowSource ="SELECT [zt_backdb].Mode FROM zt_backdb GROUP BY [zt_backdb].Mode HAVING ((([zt_b"
  91. "ackdb].Mode)<>\"*\")) ORDER BY [zt_backdb].Mode; "
  92. FontName ="Verdana"
  93. OnClick ="[Event Procedure]"
  94. GridlineColor =10921638
  95. LayoutCachedWidth =2665
  96. LayoutCachedHeight =3001
  97. ThemeFontIndex =-1
  98. End
  99. End
  100. End
  101. End
  102. End
  103. CodeBehindForm
  104. Attribute VB_GlobalNameSpace = False
  105. Attribute VB_Creatable = True
  106. Attribute VB_PredeclaredId = True
  107. Attribute VB_Exposed = False
  108. Option Compare Database
  109. Private Sub Form_Open(Cancel As Integer)
  110. DoCmd.MoveSize 50, 50
  111. End Sub
  112. Private Sub listeModesConnexion_Click()
  113. Call majConnectionsAppli(Me.listeModesConnexion)
  114. DoCmd.Close acForm, Me.name
  115. If formEstOuvert("frm_Menu") Then forms![frm_Menu].txtModeConnexion.Caption = EtatModeConnexion
  116. End Sub