DFBarracks - Forums

Delta Force Barracks Forums - Powered by XMB 1.9.11
Delta Force Barracks Forums
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: More Dialog Help/ MenuStrip


Posts: 254
Registered: 6-6-2007
Location: Missouri
Member Is Offline

Mood: Ask Me

[*] posted on 10-30-2007 at 11:04 AM
More Dialog Help/ MenuStrip

How do I associate a control I added to the menu to and event?

How do I open a color dialog and make it chnage the color of a textbox's text?

When all else fails, stupidity rules.
View user's profile Visit user's homepage View All Posts By User
Distant Storm


Posts: 870
Registered: 9-13-2004
Member Is Offline

Mood: Distant

[*] posted on 11-7-2007 at 11:51 PM

Not too sure what you mean about the first bit but the second bit here is what to do.

Right click on your left hand tool bar and add common dialog control.

Once this is added drag it onto screen. Rename it to ComD

then put this code under a command button or what not

Text1.backcolor= ComD.Color

Hope that helps



View user's profile Visit user's homepage View All Posts By User
bullet magnet


Posts: 263
Registered: 6-26-2005
Member Is Offline

Mood: Modding

[*] posted on 12-1-2007 at 07:29 AM

Control to action?

Simply double click the button and go into it's code view, then just type the action like...


View user's profile View All Posts By User

  Go To Top

Powered by XMB 1.9.11
XMB Forum Software © 2001-2012 The XMB Group
[Queries: 15] [PHP: 53.4% - SQL: 46.6%]

Copyright © 2002 - 2008 All Rights Reserved - DFBarracks.com
Site Design by A.Bullet - ScreamingDemon.com