Show Both Forms When One Is Selected?

Dec 11, 2011

I have a main form, and an options form that opens and closes when the "options" button is clicked. If the main form is closed then the options form closes also.I would like it that if the options form is open and the main form is shown / made visible / brought to front / gains focus / selected / etc., then the options form is also shown (i can see it).

View 8 Replies


ADVERTISEMENT

Show The Not Selected Items From First One In Second One?

Jul 6, 2010

I have 2 checkedlistbox on my form. I need to show the not selected items from first one in second one. User may select and deselect anytime so the second checkedlistbox should always shows the latest not selected items from the first one.

View 6 Replies

Show The Selected Value In A Listview?

May 2, 2011

how I show the selected value in a listview?

I've been trying several ways, some of them below:

MsgBox(ListOfSongs.Items(ListOfSongs.SelectedIndices.Item(0).ToString))
MsgBox(ListOfSongs.SelectedItems(ListOfSongs.SelectedIndices.Item(0).ToString))
MsgBox(ListOfSongs.SelectedItems(ListOfSongs.SelectedIndices.Item(0)))

View 8 Replies

Show Selected Date Into Textbox?

Mar 11, 2010

i have one datetime picker want to show selected date into textbox

View 5 Replies

Show The Selected Item In The Textbox?

Jan 22, 2010

I have a text box , textbox1 and I have a listview (listview1) and it contains items (a,b,c,d,e) What the code and event to show the selected item in the textbox?

when i press an item i wanna show this item with its name in my textbox i try that with selectedindex and i not show anything

View 6 Replies

C# - Show The Item Selected In Datagrid Distinctive?

Jul 28, 2011

I am using Datagrid control to populate list of items/contents.I want to show what row has been selected, distinctive.What property of the datagrid control should i use ?

View 3 Replies

Datagrid Show The Selected Time Without Scrolling?

Aug 4, 2010

im trying to let the datagrid show the selected time without scrolling.does anybody know how i can make the datagrid show all the selected time and automatically adjust.the selected rows to the datagr size

oh and by the way im using access 2007

Dim sTime
As
String = startTime

[Code]...

View 1 Replies

Form Show Selected Combo Box Values?

May 13, 2012

[URL]

View 1 Replies

Scroll Textbox To Show Selected Text?

Jan 8, 2011

I want to search the text in my multiline textbox with a vertical scrollbar:

mEvent.Focus()
mEvent.SelectionStart = InStr(mEvent.Text, FindString.Text) - 1
mEvent.SelectionLength = Len(FindString.Text)

This works fine, but if the found text is too far down, I have to manually scroll down to see it. How can I automatically scroll down so that the found text is visible in the text box?

View 2 Replies

Show Selected Row In Data Grid View

Mar 11, 2010

i m using these code for selecting data grid row [code]but , when no of row more then grid showing rows then grid not show selected row in grid screen, for showing selected row we have to use scroll bar, my problem is how to show selected row in grid automatically

View 2 Replies

Show The Label When Status='C' And 'F' (selected From The Database

Jan 27, 2010

i wants to show the label when status='C' and 'F' (selected from the database) here i want to show the label message as like "rooms 2 (status ='C' ) and 3 (status='F') are free" by using database conditions. here iam using sqlserver as database. here my coding is given below

[Code]...

View 1 Replies

Show Tooltip When Datagridview Cell Is Selected?

Jul 20, 2011

How can you show the tooltip for datagridview when cell is selected, not from mouseover but from using the arrow keys?

View 2 Replies

Accumulate The Values Of Selected Items To Show Up In A TextBox

Apr 18, 2009

I loaded up a checkedListBox with items from a .txt file. The .txt file has itemName, ItemPrice. Every item that gets checked shows up in a listBox on another form. The problem that I am having though is that I need to accumulate the itemPrices of the selected items to show up in a textBox, but the only price that shows up is the price of the item in the checkedListBox that has the focus. I have tried a few different things, but none of them seem to pan out. Any suggestions. I'll add the code to this so that you can get a better idea of what I am missing. I would really appreciate any help with this that I can get. Thank You for taking the time to read this. [Code]

View 15 Replies

Get Selected/Highlighted Values On DataGrid To Show On TextBox?

Aug 14, 2011

well my problem is that i have a data grid with id(hidden), name, and number as headers and i have 3 textboxes(1 hidden).the data on the data grid is coming from the database(mysql).like if the entry is like this

-- data grid --
name | number
guy | 20

[code].....

View 14 Replies

Show Another Combobox By Combox Selected Item VB 2008

Feb 1, 2012

I have a little problem that i want to show a "sub Combobox" with the help of super combobox. i don't know it is possible or not becux i'm beginner in VB.

[Code]....

View 1 Replies

Show Selected Item In Listbox (System.Web.UI.WebControls)?

Feb 3, 2010

I'm working with a listbox that has, let's say, 20 items. The size of the listbox allows the user to see the first 5 items. However, the listbox has one preselected item which is sometimes not visible because it isn't one of the first 5 items.

After I set the selected Item for the listbox how can I ensure that the lisbox is scrolled appropriately so that the selected item is visible to the user?

View 1 Replies

Show Selected Items From Listview To Crystal Report?

Mar 15, 2012

showing multiple items from listview to my crystal report. Or something like after searching some items, the results are the one to be displayed in crystal report. I don't have any codes yet. I'm using OLE DB Connection.

View 3 Replies

Show Text In Textbox From ListBox If Item Selected

May 14, 2011

When I select more items in listbox then show items in textbox as like "item1 item2" but I need how can I show items in textbox separately such as "item1" "item2".

View 4 Replies

Show Values In Row/column Based On The Selected Time?

Aug 22, 2010

im trying to show values in row/column based on the selected time

Public
Sub Btnplanner_Click(ByVal
sender As System.Object,

[code].....

View 2 Replies

C# - OpenFileDialog Control - Grab The Selected Path And Show It In A Text Box?

Jul 4, 2010

Here is my snippet:

private void btnBrowseCInv_Click(object sender, EventArgs e)
{
ofdBrowseVInv.Title = "Locate Customer Invoice File";
ofdBrowseVInv.Filter = "Portable Document Format (*.pdf)|*.pdf|All Files (*.*)|*.*";

[code]....

As you see below, once a user pick a file and click open. I want the selected path to show on the pointed text box which is named "txtInvoicePathCInv".

View 2 Replies

Code The Button To Show Picture Exactly For Selected Item From The Listbox?

Aug 25, 2009

I've got Button and Listbox.. Now i want to know how can i code the button to show picture exactly for selected item from the listbox.. i tried:

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
PictureBox1.Show = ListBox1.SelectedItem
End Sub

And it doesn't works.. i want.. picturebox to show special picture for each selected item from the list box...

View 4 Replies

Hide / Show The Controls Depending On What Is Selected In Tree View?

Apr 8, 2010

Is there any examples with a treeview like this [URL] /scree...tinel-smod.png is it a case of having to draw each form how you would like to then hide/show the controls depending on what is selected in tree view????

View 14 Replies

Show One Selected Entry Of Datagridview On Separate Form In Program?

Jul 15, 2011

I want to show selected entry of DGV on Separate form in VB .Net.When double click on one row of DGV then this row must be open in new form. How can I do it?

View 1 Replies

Show Or Reflect The Checked/ Selected Items From Checkedboxlist To Textbox?

Oct 13, 2011

how can i show or reflect the checked/ selected items from checkedboxlist to textbox?i'm actually using Vb.net.

View 7 Replies

Bind The Selected Value In A List Box To Display In Text Box (to Show Single Value) And Datagrid

Feb 12, 2012

I have list box created and populated data. I need to display the related column in text box and related records from another table. I have attached my code file. But, it's throwing an error.

Imports System.Data
Imports System.Windows.Forms
Imports System.Data.OleDb

[Code]....

View 2 Replies

Bind The Selected Value In A List Box To Display In Text Box (to Show Single Value) And Datagrid?

Sep 10, 2010

I have list box created and populated data. I need to display the related column in text box and related records from another table. how to do this? I have attached my code file. But, it's throwing an error.

Imports System.Data
Imports System.Windows.Forms
Imports System.Data.OleDb
'Imports System.Web.Configuration

[code]....

View 2 Replies

Show Right Click Options On The Selected List View Record Only - Winforms C#.NET?

May 25, 2010

The ContextMenuStrip tied to the ListView control. However, the right click option (edit)appear where ever i click on the ListView area, this gives me exceptional error because the implementation of edit can only cope with a selected row. I only want it to appear when on a selected row (blue highlighted row). How can i do it?

View 1 Replies

Forms :: Images Appear Selected?

Nov 22, 2009

Presently, i am using a picture box and import the picture through same on Visual Studio 2008. These pictures all work fine and are dumb with no activity (i.e. border, background, logo etc.) and only act to pretty up the form. The only thing is that if you click on them a border appear around the image as if it was a button etc.

View 1 Replies

Forms :: How To Set Selected Text Bold

Feb 16, 2009

I just couldn't find the right words to say it but, the thing is, I just want to make a certain word inside a paragraph bold. The word will be automatically set to bold in runtime. See for example the words 'John' shall be all set to bold.

Here is the

tempstr = tempstr.Replace(vbTab, "")
Dim secstr As String = tempstr.Replace(Chr(10), " ")
str = Split(secstr, " ")

[Code]....

the output of the above code is, it only makes the first occurence bold. All other word "John" are just set to Regular text when what I want is to make it all bold.

What is lacking? I used the "for each loop" to visit all the words.

View 2 Replies

Forms :: DataGridView Deleting Selected Rows

Jan 20, 2011

I'm almost embarassed to ask it. How do I loop through seleted rows in a DataGridView and remove the rows?[code]

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved