User Changes OS Font Size Which Distracted Form Look
Jun 23, 2011Notice the two buttons at the bottom have moved down to the point where they are almost hidden? What can I do to resize the form as the user changes the font size?
View 1 RepliesNotice the two buttons at the bottom have moved down to the point where they are almost hidden? What can I do to resize the form as the user changes the font size?
View 1 RepliesNotice the two buttons at the bottom have moved down to the point where they are almost hidded? What can i do to resize the form as the user changes the font size?
|+--JDMils|+--VB6 & XL VBA+--VB Dot Net 2K8|
Okay here's what I'm trying to do. I want to change the font size of a label based on the size of the form.If the form size is 0 through let's say 500 I want the label size to be 50. How can I write this?
View 5 Repliesi want to put text pox , with Availability to allow to user to change the the color , font and the size of text ( that insert by user ) .
View 7 Repliesi'm currently wonder how to let the users change the font size via a combo box(I have it set up for Small,Medium and Large) That should be fairly easy. The next is more complex. I want users to be able to browse for an image and use it as the background image of the program.
View 4 RepliesI have this code which run at form load event:
' Fuente
Dim tamano As Integer = Val(INI_Read(Application.StartupPath + "FSTM.ini", "Options", "Font size"))
[code].....
I have created a page containing the Wizard control. It's a very simple one. User selects some data on the first page, clicks Next and then has a choice of Previous or Finish. When they click Finish the form is submitted but, for some reason, the font size of all my labels increases. There's nothing in the code of the Finish button that would do that.
View 1 Replieshow I can change the style of my windows form ?[size=6][i][b][font=Comic Sans Ms]
View 3 RepliesI 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)
I am creating an excel report from vb.net. Now it works. But i realize that the apparent does not make sense. I just want enlarge some font size and change font name plus setting up the page to fit my receipt printer (Epson TM-T88IV).
View 1 RepliesIn VB10/win forms project, when I change the forms font size the form and all the controls on the form get larger or smaller, OK great! The problem is the combo boxes then appear with their text highlighted. Is this a bug or am I doing something wrong, simple example..
[Code]...
how will I set the font style and font size of my textbox in a programmatic way? Also, if possible, a code that displays the different font style on a combo box.
View 3 RepliesI have a label which appears full screen on a projector (VGA 2). In this label I will be sending strings. Some one liner's, some wrapped paragraphs. Some multi-line with carrage returns. My goal is to have the font dynamically change size to be as large as possible without overflowing the fixed label size.
View 10 RepliesWhats the font size real meaning? since when i use Arial font size 10 in the report its gonna take different space than the textbox im using (Both using exactly same font type/size/unit) its kinda if i set 10 milimiters to the font size why would the i and M for example have so diferent size.
i wish it was like in the Notepad where all the letters take the same space. what i need its to give a certain texbox(in the report) with auto grow to have always the same lines of height but its not posible to calculate it from vb b4 being inputed to the report.
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 had set a print format to print some word in a Text box, when I input the text in text box is an normal size from system,but I want it print out to printer follow the Rectangle size that is was set to print out on paper.actuary i want it can auto size the font size follow by the length of string.
View 1 RepliesI'm new to VB in Visual Studio 2008 and am just trying out some simple test.I just want to change the Font & Boldness of some text but get the following errorProperty 'Size' is Read onlyI have been browsing the forums and it seems that changing the font size etc isn't as simple as
TextBox.Font.Size = 12
TextBox.Font.Bold = True
Is this true, and if so what do I need to do
I'm writing a couple of custom controls in VB.Net 3.5, in VS2008, and would like to resize the font size based on the height of the control, and vice-versa. Is there any way of converting a font of say 38.25pts into a me.height, or the other way round?
I realise the font width will change dependent on the font used (which isn't an issue for my purposes), but as far as I know, the font height is usually consistent Accessibility/Large font settings won't be an issue with this application.
I have a windows form that has custom alpha blended controls and a Graphical User Interface. One of my users has a larger system display enabled (125%) and the application expands by 25%. Is it possible to stop this happening and have the application stay at the normal size that I developed it at?
View 3 RepliesHow do you lock the size of a form so the user can't resize it?
View 3 Repliesi made a form as big as my screen and remove the button on the title bar to ensure that the form will not be tamper with, but i still can make it small using mouse arrow drag, going to last border of the form.
View 4 RepliesI have the Context Menu Options like ( Small Font , Large Font ) based on the selection I want to change the size of the Font in the Controls,Control's Size & location(x,y,height,width). The resize of the controls should not affect the look and feel of the forms.
View 5 RepliesI am creating an application for a company and this CD will be distributed to hundreds of people. Many users will have different computer screen size and different screen settings such as their resolution set to 1024 x 728 and their monitor size 17" inches.
I noticed when I loaded the application on a different computer with different settings the application was to big for the screen and did not work. I notice that lot of other programs from microsoft resize their controls and text but never knew how they did it. How can I resize the form and control according to the user's setting.
how to make bigger tabpage page headers without changing tabpage or its contents font size. i just need to change tabpage header to make it look bigger with different font.
View 1 RepliesI have a strange problem which I am really struggling with, im making a type of CAD program which the user needs to specify a font size in mm.
Everything seems to work ok but when I get the bounding box of the font it reports it as being less than the font height specified.
[Code].....
How do I change the font size of selected texts without touching the Font type (cmbFontName.Text)? I may highlight a lot of texts with different font types and I only wanted to change its font size. How do I do that? Here's my
[Code]....
I am using to Drawstring method to draw text in a container panel, i have set the Graphics.Page unit to millimeters and now I would like to set the size that the text draws in millimeters.
View 2 RepliesPrivate Sub FontToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
[code]...
My application crashes as I change the font size! What is wrong? romp does return a number as text...All i want it to do is paste that next right next to the "fontsize="
is there an easy way to set the font size of a textbox.
i tried this
textbox1.font.size=10
but it says that size is read only but there has to be a way to set it.
I need to convert between Drawing.Font.Size (float, ?) and WPF FontSize (double, WPF pixels).Finally, I decided to store in the database the fontSize in inch...How can I convert the GDI FontSize to inch and the WPF FontSize to inch?
sizeInInch = wpfFontSize / 96
sizeInInch = gdiFontSize / ?
Can I use something DPI independent? Maybe System.Windows.FontSizeConverter?I need to convert to something, that will allow me to switch multiple time between WPF and GDI without changing the "real value". Each division and following multiplication will accumulate errors...
FontSizeConverter does a ConvertTo, but I don't understand to use it:
myUniversalFontSize = (double)(myFontSizeConverter.ConvertFrom(
gdiFont.SizeInPoints.ToString() + "pt"))
will transform my gdiFont size in ...? WPF Pixels?How now should I convert back that value to GDI?
gdiFont.SizeInPoints = myUniversalFontSize / 96 * 72???
Can I use in the second example the myFontSizeConverter too?