définir l'image d'arrière-plan sur vlistbox/lineupbox
J'ai conçu une interface utilisateur comme celle-ci. Vous voulez définir une image d'arrière-plan sur toute la page, vous ne savez pas comment le faire. ci-dessous mon code :
HomeWindow = New Window( "Home",
HomeVlistbox = V List Box(
Lineup Box( N Col( 3 ),
spacerLoginLeft = Spacer Box(),
V List Box(
loginTitle = Text Box( "Welcome" ),
loginPanelBox = Panel Box( "",
loginLineUpBox = Lineup Box( N Col( 2 ),
userNameTextBox = Text Box( "User Name" ),
userNameTextEditBox = Text Edit Box( Get Environment Variable( "USERNAME" ) ),
passwordTextBox = Text Box( "Password" ),
passwordTextEditBox = Text Edit Box(),
loginType = Check Box( "Auto" ),
loginButtonBox = Button Box( "Login", loadScriptFunction( "loginAction" ) )
)
)
),
spacerLoginRight = Spacer Box()
)
)
);Automatisation et scriptRe : définir l'image de fond sur vlistbox/lineupboxJMP n'utilise généralement pas d'images pour les arrière-plans derrière les contrôles. Vous pouvez utiliser une couleur d'arrière-plan dans une boîte conteneur et de nombreuses boîtes enfants afficheront la couleur d'arrière-plan du parent.
Si vous avez vraiment besoin de le faire de toute façon, vous pouvez essayer de créer un fichier-> nouveau-> application. Construisez d'abord l'interface graphique, puis ajoutez une Pict Box. Vos éléments gui et le PictBox seront frères dans l'application (la boîte pict n'est pas un conteneur.) Ce que vous faites glisser en dernier se déplacera vers l'arrière-plan (car il se déplace au début de la liste et dessine en premier), alors faites glisser l'image en dernier .
Not a great image choice for a background--too busy!Not a great image choice for a background--too busy!Not a great image choice for a background--too busy!Not a great image choice for a background--too busy!Not a great image choice for a background--too busy!Not a great image choice for a background--too busy!Not a great image choice for a background--too busy!Not a great image choice for a background--too busy!Not a great image choice for a background--too busy!Not a great image choice for a background--too busy!Pas un bon choix d'image pour un arrière-plan - trop chargé !
Re : définir l'image de fond sur vlistbox/lineupboxJMP, jusqu'à présent, ne semble pas bon pour une interface utilisateur interactive sophistiquée. Mais votre solution est utile! Merci beaucoup!