VS 2010 Put Pictureboxes Into Grid Formation?
Jul 19, 2010
I would like it so my users can decide to add images to the form, but every time they add a new form, it is inserted directly below the last one (until the end of the page is reached). Then when the images reach the bottom of the page it starts a new column. I would also like padding around each new image and for the images to rearrange when the form is resized. Is this possible? How would I do this?
View 5 Replies
ADVERTISEMENT
Aug 22, 2011
taking interest in this post, this is a problem I've had for quite a while.I have a button on a form and when you click it, it makes 3 pictureboxes appear on the form and when you click another button, it makes the pictureboxes move around the form accordingly from a timer. I have this code so far:
[Code]...
View 8 Replies
Jan 24, 2011
I am working a small project where I would like the user to be able to add images to a form, specifying a URL in the tag of pictureBox, so that when it is clicked. They are taken to the website they specified when adding the pictureBox.
I have a separate form for adding the URL and image so I need to pass those variables into the first form.
how to access the Tag property of the individual pictureBox when the user clicks it. Here is my pictureBox creation code which is in the second form:
Dim tool As String
Dim ptext As String
Dim url As String
[Code].....
View 6 Replies
Aug 16, 2011
I have a series of tabs, each containing a series programatically generated PictureBoxes that are all 480x360. The TabControl is anchored to all 4 edges of the form, so it always takes up the whole area.
I would like the PictureBoxes to behave similarly to how images behave when floated in HTML/CSS. So if I have 5 pictures and the window is only ~900 wide then I will have 3 rows, 2 in the first 2 and 1 in the last. But if the window is then expanded to ~1500 then I get 2 rows - 3 on the first and 2 on the last.
What is the simplest way to achieve this? Is there a built in way?I am planning on repositioning the pictures when SizeChanged fires on the TabControl, or when the selected tab changes.
View 3 Replies
Jun 12, 2011
I have a few problems with making a map editor, how to make one reply and ill give you my msn well actually this problem: its not making the grid invisible if you de-deselect the option "Grid On" because the rect's have already been drawn. So I need to know how you can delete them.
[Code]...
View 4 Replies
Jun 2, 2010
winforms .net 3.5 Ultrawingrid 9.2 In my subclass of Ultrawingrid.Ultragrid :
[Code]...
This works fine. But when the grid is dropped on a TabControl tabpage, the ctrl-tab looks very different to the sub above. e.keycode is seen as controlkey {17} I realize that by default cntrl-Tab moves between tabpages. I need to override this behavior. My thought is I probably need a subclass of the tabControl which will pass the keycombo through just as the form does but I confess to being clueless as to how to accomplish that. I tried to override the onkeydown of a tabcontrol subclass and just issuing a return and not and base call to onkeydown if the ctrl-tab combo was pressed but it seemed to see the e.keycode as controlkey as well.
[Code]...
View 1 Replies
Jun 20, 2012
I am creating a photo hunt game for grades 6-9 in summer camp. I want them to alter an image in paint then create two picture boxes. I want to put in ovals with no fill color to mark the differences in the picture but VB.net won't let me send the images behind the ovals.
View 5 Replies
Apr 27, 2011
Is there a way i can feed a URL link to a column in a datagrid and have it display the picture?
View 1 Replies
Jan 25, 2012
i'm building an application using ms chart control on VB 2010. I want my chart look something like that:url...is it possible to achieve similar results in VB?
1) is it possible to remove that black grid of vb chart, or just remove half of it (like in that example)?
2)is it possible to change the color of that grid?
3)is it possible to rotate the axis? for example Y goes from top to bottom, X goes from left to right?
4) is it possible to style every point of chart with squares or dots? (like in example)
View 7 Replies
Jun 19, 2012
I want to do as in the picture. Let the active cell in the window when I press the F10 key and then choose to come active cell. There are other window, the grid
View 9 Replies
Dec 21, 2011
I have created a user control. The user control has a button and a propertyGrid. I wrote a function to bind data to propertyGrid. When I click the button I called the function and datasource binded to propertyyGrid, its working fine. The same way am binding the grid from another class.vb, the datasource binding not throwing any exception. But the data not showing in the grid. Should I need to change any modifier.
View 1 Replies
Dec 16, 2010
I've been trying to make a grid to test some AI stuff I'm working on. I managed to do it using rectangles and graphics.rectangle (pens.black, rect) by using a vid on youtube, but it made the application virtually useless because of all the memory it was using. I don't need it to be an actual grid, but I do need it to have values as if it was a grid, so that I can issue commands (x,y coords). (I have been searching the forums for over an hour, but all examples are either useless or cant be converted correctly).
View 6 Replies
Apr 30, 2011
I've been reading a few tutorials online and cant seem to get any of them working. Is there a way to add a image to a column in a grid? I want to be able to pass it a url like [URL]...
View 5 Replies
May 13, 2012
I've got grid data and I want to allow the user to filter it.I'm curious what controls or methods you all have used successfully to ask the user for this type of information.I see EXCEL allows you to click a header - ask for a filter - and get arrows in the heading to allow you to see a DISTINCT list with CHECK BOXES.Google Docs spreadsheet does almost the exact same thing.
View 3 Replies
Jan 26, 2011
i'm using the MVCContrib grid trying to override the start of a row and the end of a row. It's not working as advertised. This is an extract from my MVC2.0 view.
<div id="chargestable">
<br />
<% With Html.Grid(Model.InvoiceListingInformation)
.Columns(Function(column)
[code]....
The stuff i put in the begin row and end row functions is being rendered above the grid entirely.(PS i can't just use the attributes as i need to wrap the row in another html element)
View 1 Replies
Mar 11, 2010
i have a prob that i have a gridview on the parent window. when i open a child window using showmodaldialog, i enter some data in the textboxes. now when i close my child window i want to display the text entered by me in the grid. i want to know how can i access the grid in child window
View 1 Replies
Jun 9, 2012
Trying to understand the basics of grid design so how would I make a over sized grid or a grid larger then whats viewable on my screen resolution? Below is a simple chart describeing what i want to make roughly. I would like to build the grid in "blocks".[URL]..
View 16 Replies
Jun 7, 2011
tried to dissable the Snap to Grid feature from the "Tools" menu "Options" under the category "Windows form Designer "General" with out any luck, every time I tried to postion any of my controls on the form, I still see the blue and pink alignment lines and I can not align them where I would like to postion my controls on the form, any one can shed some light on this feature or could it be a bug?
View 1 Replies
Jan 2, 2012
I have a datagrid that shows tickets that are in an OPEN status. The first column is the ticket number. Is there a way with a data grid control where I can click that number in the Ticket Column and close the ticket etc?
View 2 Replies
Apr 15, 2011
I'm looking to see if anyone has a sample app or has a link to such an app that uses data binding with a grid control and textboxes and is able to insert, change and delete from a datatable which gets updated to a sql server database.I have done an app that has the grid control and the textboxes already and is able to change and delete from the datatable and that action is reflected in the grid control because it has the datatable as the binding source.
The problem I'm having is when the user tries to insert into the datatable I get a concurrency violation error when using the .Update statement to save the changes to the database. This is happening because I don't know exactly how to get those inserts synchronised correcly.I'm sure I'm also doing the processing wrong but here is what I'm doing.When the user clicks an insert button I insert a new row into the datatable. The user now has the ability to enter text into the textboxes. When the user is finished doing that the user can click the save button which issues a .Update statement. That's where the error is displayed
View 2 Replies
Jan 3, 2012
I want the code to process for the cell Click Event ONLY if the first column (column 0) is clicked. If the 2nd column (column 1) is clicked, I do not want anything to happen
View 2 Replies
Aug 30, 2011
I've been trying to customise a datagridview but no luck so far, thing is, i want some of the cells to not have the same grid colour and width as all the rest of the grid. Do you guys know how can this be done? I know it is possible cause i've seen it before but i have no clue how to accomplish that.
View 4 Replies
May 11, 2011
I want to know how to perform row delete to datatable which is a datasource to the grid.
In details: I have a datagridview (dg) and its datasource is set to dtItem. User will select some rows in dg and press 'delete' button.
dg.DataSource = dtItem;
I will perform a loop and delete the records. Here is the code eg:
foreach (DataGridViewRow drw in dg.Rows)
{
if (drw.Selected)
[Code]....
The problem is it didn't delete correctly. If user selects row index 0 and 1 in dg and delete it, it will delete the first one correctly and then finished cuz no more row is selected in next gridviewrow.
I tried google and didn't find what I want. may be because i don't know the correct keywords I should use to search.
View 2 Replies
Jan 10, 2012
I've got a data-bound data grid view and one of the fields is an image. How do I scale down the image to a reasonable thumbnail size (say, 100px wide) and adjust the height and width of that cell so that it fits the image?
View 2 Replies
Apr 15, 2012
The below code was written to bind the datatable to the grid, but i am unable to fill the grid.I am unable to fill the datagrid. [code]
View 1 Replies
Mar 2, 2010
I have UltraGrid and i need when i click on grid row to get content from specific column of that grid. For example if I click in cell of fourth column then i need to get value of first column of the same row where i clicked.
View 1 Replies
Jan 14, 2010
This is a VB .NET application where we are showing the output of a SQL statement in a Datagrid view. using .NET 2005.We need to get the seperators of the headers on the grid control to be the same colors as the GridColor on the form. See the picture below:We've tried looking through all of the properties of the DataGridView control, and found some interesting things that looked promising such as the DataGridViewAdvancedHeaderStyle, and DataGridViewHeaderBorderStyle, but none of it seems to allow you to change the colors on it.Does anyone know how to do this without remaking the entire thing with a GDI+ control?
View 2 Replies
May 25, 2011
This project is based on a MUD, or at least originates from playing them. I have an ascii map where each character represents a type of terrain. I have found code for reading one line at a time, but I need to not only dictate which line to be read, but how many characters in to the line to read. Basically trying to make a grid/coordinate system, where I can tell it my location is 4, 7 and the program will read the fourth line, seventh character.
View 3 Replies
Jun 28, 2010
i'm working on a calendar and i'm stuck on how to make the grid (where the user put the events )i want to make my calendar look like this!
View 4 Replies
Feb 10, 2012
I created a winform that display an item master in a DataGridView, bound with a DataView. Let's just say it has columns/fieldsitem_id item_name item_description I wanted to make a single text box that will be searched in all fields. So if any field in a row contains searched item, it will be displayed. My current idea is to create a DataView with RowFilter contains all rows such
[Code]...
View 2 Replies