Change The Font To Bold If The Box Is Checked To Make It Stand Out In The Document
Dec 9, 2010I have a form that has 35 checkboxes. I would like to change the font to bold if the box is checked to make it stand out in the document.
View 12 RepliesI have a form that has 35 checkboxes. I would like to change the font to bold if the box is checked to make it stand out in the document.
View 12 RepliesI've been googling, testing, etc for a couple hours and I'm right where I started off. the vb.net tab control sucks... Does anyone have an tips or code to make it so when I select a tab the font color changes OR it just makes the tab heading text bold?I've messed around with the draw commands and while that does work, it draws the borders/backgrounds so they are very old / outdated looking.This is basically for a simple tab text editor I'm working on when a textbox in the control changes I can update the associated tab with either a red font or just bold it to indicate the textbox on that tab is modified. I've definitely be open for alternative tab controls as long as they are free and come with a vb.net example :)
This is in vb.net 2008 express
Private dt As DataTable
Private ds As DataSet
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Row1 As DataRow
[code]....
I want to change the font to bold of the current row in the loop and i m also binding the datatable with datagrid as it is in code..
I want to change the font on a button to bold after certain conditions exist during runtime.
I tried
Col1Button.Font.Bold =
True
The autocomplete allows me to type it, but it doesn't work. There is an underline under the IDE code. Font is apparently a "Read-Only"property. Is there a way to make it a changable property?
Can anyone show me how to programatically make a label font bold?
lblid.Font.Bold = True
I tried the above, but it did not work and gave Read Only Error.
How to list all font in combobox, and how to change selected font in list accordin font in combobox?
View 3 RepliesHow to programmatically change foreground color and make bold text in individual cell location on DataGridView control (Visual Basic)?
I use "dgMatrix.Rows(r).Cells(c).Value = x" to assign individual numeric values to individual cells in a DataGridView control. My question; is there a similar way to change foreground color and make bold the text in this cell, by specifying the individual row/column cell location?
For example; for cell (row 3, col 5) in the DataGridView make text in cell say red and bold or blue and bold so as to highlight and distinguish individual cell contents. As needed, I will also need to reset these properties (foreground back to automatic/black and font from bold back to regular); the reset could be done globally to the whole DataGridView as opposed to indiviaually by cell.
I want to make a check box change color when it is checked. In looking for answers it appears there used to be a fill color option in the properties, now in there is just back color and fore color. I am using VB 2008 Express.
View 2 Replieshow can i give code in bold button just for bold the text in textbox1how can i give code in bold button just for bold the text in textbox1
View 1 RepliesHOw can i create a font that is "BOLD" as well as "UNDERLINE"?
View 2 RepliesHow would I be able to get all the bold text from a webpage and write it to a text box? For example, say the HTML is
<li>
<b>
"a"
[code]....
The textbox would read "ac". How could I do this?
How do I combine fontstyle.bold with fontstyle.Italic? I tried simply adding them together but no go.
Dim MyFont as New Font ("courier new",12,FontStyle.Bold + FontStyle.Italic)
Evidently font styles are not constants.
I want to show the group name font in listview as bold, can i do that?
View 1 Repliesanybody know how to create a usercontrol that sets the font style of the first word in a label to bold?Normally you can use two labels and make the first one bold, but I need to have a label with word wrap.
Information - This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
[code].....
I have treeview in which for some of the treenodes I have to set the font selected by user. The font gets applied correctly, but the text is not displayed properly. Need to set the height of treenode. I'm using vb.net and VS 2008. I have already checked the Bounds property, but it is not set correctly so I cannot set the ItemHeight property of the node.
View 2 RepliesI have a 'project' that I'm currently using in excel. I would like to change it over into a stand alone app. I however am not a coder and have taken very limited coding classes. I know HTML, CSS, VB and some VB.net. My question is will it be easier to convert it to a web app or simply a desktop app? Why would one work better than another?
Here's some constraints.Not every intended user will have excel (thus my want/need to convert to stand alone). The data involved will come from 3 seperate databases/locations and will require archiving once a year. The data would be 'wrote' to the app upon opening - SQL queries.
The app would simply manipulate this data and provide reports. Nothing fancy except access to certain reports would be limited based on username. The 'interface' needs to look pretty. <Not my constraint but the PTB>.
They do not want/need a report generator <already tried to get them to go for crystal reports>, no funds available and users do not want to have to learn how to write good queries. <Yes, I have tried to get them to understand but they like what I currently have in excel>
How can i make the Font Bold in a RTB using buttons?
View 2 RepliesI have 3 check boxes on a form and am trying to code them to change the font in combinations of Large Font,Bold Font, and underline font.I coded the bold font check box and large font check box but cannot get the Bold and large font to work at the same time.
View 5 RepliesI have a rich text box ('RichTextBox1') and a button ('BoldButton'), and have it set up so that whenever the user highlights some text in the box and clicks the bold button, that text becomes bold. That much I've figured out...
Public Class Form1
Private Sub BoldButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BoldButton.Click
Dim Bold As New Font(RichTextBox1.Font, FontStyle.Bold)
RichTextBox1.SelectionFont = Bold
End Sub
End Class
But I'd also like to add the ability that if the user highlights text that is already bolded, then clicks the bold button, that text will go back to 'regular' font. In other words, I'd like the 'bold' button to be able to toggle between bold and regular font.
Is there a way to access wordpad programmatically so I can set attributes like font, bold, text justify, printer orientation etc etc ? So far, I'm able to launch wordpad from withing VB6 and work with its features.
View 4 RepliesWhenever i try and load a project i was working on with VB 2010 i get an error saying
"Font 'Arial Rounded MT Bold' does not support style 'Regular'"
how to get rid of this? I recreated my form for the project and copied the code over but it did this again. I didnt change any fonts on the form at all so i dont understand whats going on.
I can't change change the font size or font name or color of the text in the DHTML Editing Control. I have 2 listbox controls FontNameList containing all of the installed fonts on my PC and FontSizeList containing some numbers to be used as fontsize and I use the execommand and build my App but the font did not change instead it grew bigger but when I tryed to change it back it stayed the same. The Code for that was:
Design.ExecCommand(5044, False, Font.Name)
printing barcode 39 truetype from idautomation i already try their integration guide but it didnt work....i want my project to
1. Label1 changes to what i type in the textbox1(the label1 is a barcode i change the font of the label1 into IDAutomationHC39M font from IDAutomation)...ive already done that...
2. print the barcode(which is the label1) when i click my button named btnprint..but it doesnt print...
I am trying to create a page where a user can type a document and have it be bold italic or underlined. When the user clicks on bold and italic it should be bold and italic. when they are not clicked it should not be. I am having trouble finding a stable solution. I can only seem to change it to either bold or not bold or italic or not italic and not bold and italic.
View 10 RepliesI'm tired of how to make my application stand-alone exe. I have created a small application console using C# in visual studio 2010, and I want to make it run on other computers with out having to install .net on that machines. and also make it just like notepad.exe with just click and it will run. I've read a lot of articles talking about netz or ILmerge.exe or mono which is so difficult to me to understand. and another question is how to know how many .net files or dll s that my application needs?
View 5 RepliesWhen I have two MDI Child forms opened, it is difficult to visually see the active form versus the non-active form.I would like to have the Active Form stand out more, say a yellow border.
View 3 RepliesI'm developing a very simple program in VB2010 Express that will create folders based on entries in a remote database. I am fully aware that the minimum requirement to run the exe is the latest .net framework, however I have a few added resources to the file, and when I try to run the executable on another computer, it fails to run stating that the resources are missing.
How do i compile my VB code AND the resources together into a stand-alone executable that only requires the .net framework to be installed?I have already tried to google this issue, however every answer I find has nothing to do with my initial question..
Is it possible to change the size of a font in .net winforms without having to create a new Font with the new size?
View 3 RepliesI wanted to know how I can make a stand alone exe without making the user install the application. So that the program can be ran from a disk or flash drive. Currently I can run it just fine on the PCs, I'm developing it on. But when I take it to another, that has the targeted framework, it crashes.
[Code]...
How can i make a full screen form, with no borders stand in the middle?
[code]...