.net localization problem
can i specify the localization (which language to display) each time when i
run a window application instead of localize by the windows system
automatically? Tag: Focus on Panel Tag: 56115
String Builder - not appended
Hi
I am using a variable of StringBuilder to form a string.
After appending a string of value like this
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0
Verdana;}}
\viewkind4\uc1\pard\f0\fs17 saesae \b esrdsr esrdsr\i refetwe\b0\i0\par
}
This value is appended to that string builder.
Whatever appended after this value, not getting appended to the
StringBuilder.
How to solve this problem?
Thanks and Regards
Karuppasamy Natarajan Tag: Focus on Panel Tag: 56114
Toolbar buttons dont' show
I just wrote a quick Windows app with some toolbar buttons. In design view,
the buttons show up fine, but when I run the app, the toolbar button images
don't show up. Is there some simple setting that I am missing? I've tried
using both .GIF and .BMP format, and both show up fine in the designer
(although the GIF is the only one that has transparency working normally). Tag: Focus on Panel Tag: 56107
Printing Problems
I am printing several pages.
Problem 1:
While the printout looks fine on one printer (OKI C9400 PCL) it comes out as
gibberish on another one (HP LaserJet 5/5M PostScript)
Other Windows applications (such as Word, Excel) print OK to both.
Problem 2:
If I preview the pages (using any of these printers), the printout looks OK
on screen.
When printing from the Preview dialog only partial data is printed (same on
both printers except for the gibberish).
Any ideas? Tag: Focus on Panel Tag: 56104
UserControl Load Event
Does anyone know of an event that is fired after a
UserControl is created regardless of whether it is visible
or not. I have a data bound UserControl that needs to
populate it's contents when it is loaded at runtime, but
not at design time. If i try to load the data in the
constructor, the DesignMode property is not set so I can't
skip the data loading in the designer. If I handle the
Load event, it doesn't fire when the control is first
created, only after the parent form is hidden, then re-
displayed.
Anyone? Anyone? Tag: Focus on Panel Tag: 56101
Application slow down
Hi there.
I have written a kiosk application in C# where the user can browse the
internet amongst other things.
When there has been no user activity for a while (e.g. half an hour) the
application seems to slow down and responds slowly to the next user.
I was wondering if anybody has an idea as to what could be the reason for
this.
Thanks,
Anders Schultz Tag: Focus on Panel Tag: 56100
Images on button with XP-Theme
I have an application that has bitmap images on the
button. The applicaton was displaying them fine until I
added a manifest to the application to display them as XP
style buttons. I used the example manifest in the VS
2003 documentation in C#.
I have spent a couple hours scanning the web looking for
the answer to this..
What do I have to do differently to the image on a button
when it is displayed using an XP them.?
Anyone able to nudge me towards a solution?
Thanks... Tag: Focus on Panel Tag: 56095
Form's Location
I am trying to possition a main application form (Form)
at a specific location. I used Bounds and Location
properties to set the x and y of the form and with no
avail. The form get displayed anywhere but where I want
it to be. Tag: Focus on Panel Tag: 56091
Project
Is anybody interested in joining me and Marc
(http://www.codeproject.com/useritems/AAL-1.asp?
print=true) in working on a .NET based product that could
potentially lead to a commercial release?
Please, don't replay unless you are serious and have time
and energy to see it through.
Roman Tag: Focus on Panel Tag: 56088
How to change the ForeColor and BackColor of a listview subitem?
Is there any way to change only the ForeColor and
BackColor of a subitem of a listview item? That means
if the listview is displayed in detailed mode, only one
field of a listview item has a different color instead of
the whole row. Tag: Focus on Panel Tag: 56085
PropertyGrid
Hi all
Could some onne point me to the right direction please? I am trying to
create a new PropertyGrid derived class and add a new property tab on it.
Put it on a form and use it as a customised property display of any selected
object. I have found no suitable method to add a PropertyTab in the
PropertyTabCollection of the PropertyGrid. I have tried using the
PropertyTabAttribute on a target object's class definition, but that doesn't
work either. Surely I am missing something obvious.
Thanks
RK Tag: Focus on Panel Tag: 56084
listview item looses forecolor
Hello All,
I have a listview item on listview with the property HideSelection set to
False.
I set the listview item forecolor to green and set the font to be bold.
When the listview loses its focus, the listview item that was selected
looses its color (goes back to default black), preserving its boldness.
I want to keep the forecolor, even upon lost focus
Is this a known bug??
Can anyone help??
Thx
Iris Tag: Focus on Panel Tag: 56056
Embed Excel in Windows Form?
You could embed excel in a VB6 form using an OLE
container control. Is it possible in a VB.NET Windows
form? Tag: Focus on Panel Tag: 56049
Picture box
I have an application that draws an image from a number of
points inside a picturebox.How can I capture the image
drawn in the picturebox and save it as a file like:
Bitmap.Save("image.jpg");
Thanks Tag: Focus on Panel Tag: 56045
tabcontrol backcolor
Is there a simply way to avoid the standard "BackColor" of
the TabControl?
I mean, if you put on a form a TabControl with one
TabPage. Set the BackColor of the form and of the TabPage
to, say, Blue.
You will still have the "tab zone" of the TabControl to be
colored by SystemColor.Control
Can we change that? Is there a property somewhere I missed?
Do we have to do that manually using GDI methods? (if so,
does somebody has some code or tricks?) Tag: Focus on Panel Tag: 56043
Cancelling current activity in progress indicator
Hi all,
in my application I want to implement a progress
indicator which has 'Cancel' button allowing to interrupt
the current activity. What is the best way to do such a
thing? I'm considering the following variant:
The progress indicator is created on demand on the
separate thread and stored in the local memory of the
thread that has initiated its creation ('initiating
thread'). The progress indicator also stores a reference
to the initiating thread. When a user clicks 'Cancel'
button, a delegate is executed on the initiating thread
that throws an exception, so that it can be handled
somewhere on the initiating thread.
The purpose of creating progress indicator on a separate
thread is that it will be unable to handle windows
messages (like clicking 'Cancel') if it is created on the
initiating thread.
Am I right or I'm reinventing the wheel and there is an
easier way? I would prefer simpler design, but I'm not
competent enough in WinForms to figure it out.
Thanks in advance,
Dmitry Tag: Focus on Panel Tag: 56042
Date Web Service
Has anybody seen a web service that can check the date. I wish to use this
as a simple shut down for a software product. Instead of checking the
computer's date, which can be changed by the user, I could require an
Internet connection and check the real date with a web service. A simple yet
effective way to shut down a program. Anybody seen this web service?
Derek Tag: Focus on Panel Tag: 56037
Rich Text Box
Hi..
I am having a Rich Text Control in a Form.
Whatever Text entered into the RichText, i want to save the Text along with
Format.
I want to display the Text again with same format using the saved Text and
Format.
How to do that??
Thanks and Regards
Karuppasamy Natarajan Tag: Focus on Panel Tag: 56035
How to hide Icon on MDI Form?
Is there a way to hide the Icon (and its placeholder) on a maximized MDI
child form?
Thanks!
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: Focus on Panel Tag: 56034
Vertical Text on a Button
any simple way to rotate the text on a button to a vertical orientation?
specific examples would be most usefull.
thanks,
-andrew Tag: Focus on Panel Tag: 56032
Panel autoscroll position
Can anyone help?
Why do some controls reposition themselves to the correct position
automatically when I scroll my panel. Others I have to manually reposition.
In the If statement: control is to the left of the autoscroll position.
The ElseIf: control is to the right of the autoscroll position.
This works fine on all controls that do not reposition themselves
automatically.
They are all invisible before reposition.
Could it have something to do with the ZOrder. I've tried bringing them to
front first.
'move groupbox according to autoscrollposition of panel(pnlcategory).
Public Function MoveGroupbox(ByRef pnl As Panel, ByVal grpbox As GroupBox)
As Integer
With grpbox
If Math.Abs(pnl.AutoScrollPosition.X) > .Location.X Then
.Location = New Point(0 + pnl.AutoScrollPosition.X - .Location.X,
.Location.Y)
ElseIf Math.Abs(pnl.AutoScrollPosition.X) < .Location.X Then
.Location = New Point(0 + pnl.AutoScrollPosition.X + .Location.X,
.Location.Y)
End If
End With
Return grpbox.Location.X
End Function
Thanks ,
Daniel Jenkins Tag: Focus on Panel Tag: 56028
PropertyGrid Collections do not fire PropertyValueChanged
Hi,
I have a collection in an object that can be edited by a propertygrid. When
the user edits properties the
PropertyValueChanged event fires and I can mark my object as dirty (ie needs
saving) but if the user edits a collection contained in the object the event
doesnt fire.
Whats the best way to get notifications if collection contents are changed?
BM Tag: Focus on Panel Tag: 56027
How do I support MouseHover over different TreeNodes in one TreeView?
I have a TreeView with more than one TreeNode. I would like to do
something like set a ToolTip during a MouseHover event.
Unfortunately, since TreeNodes don't generate events. The TreeView
owns the MouseHover event, but it generates only one event per session
of moving from TreeNode to TreeNode. I could move most of my logic
into the MouseMove event, but I don't want to recalc everything
everything on every MouseMove over the TreeView, as it could slow down
the mouse motion. I greatly prefer the delay the MouseHover event
gives me.
Ideally, there would be a way that I can cause subsequent MouseHover
events to be generated after a MouseMove event over a different node
from the last MouseHover event. Is there something?
Thanks,
Eric
EricP@ActiveState.com Tag: Focus on Panel Tag: 56026
Datagrid Index Out of Bounds
Hi,
I have a form with a datagrid that loads a modal dialog
when the f3 button is clicked. A value from a read only
datagrid in the modal dialog is double clicked, the modal
dialog is closed and the value is returned to the main
form's datagrid cell. This works fine but when I attempt
to tab out of the cell, I get an index was outside the
bounds of the array error, which is coming from the modal
dialog. I have tried things such as setting
currentrowindex but no success. Any ideas? Thanks in
advance. Tag: Focus on Panel Tag: 56023
drag a menuitem?
In XP, I can drag menu items (for example - I can drag an item on my
Start Menu to the Desktop to create a shortcut for it).
Can this action be accomplished in .NET? I want to be able to drag an
item off of a ContextMenu.
matt tag Tag: Focus on Panel Tag: 56021
DataGrid
Does anyone know how to customize datagrid error messages.
When I set AllowDBNull = false for a datacolumn in a
datatable, the bound
datagrid displays an unfriendly message for null
columns, "Error when
committing the row to the origianl data store ...
Column '[x]' does not
allow nulls. Do you want to correct the value?".
Does anyone know how to customize that message, override
it, or intercept
and handle it via some event? Tag: Focus on Panel Tag: 56020
Force bound control to post value to DataSet?
In my project, the previous author is trapping the
SelectedIndexChanged event for a bound ComboBox control, and within
that event handler, he's updating other items in the DataSet manually,
which has the nefarious side effect of causing the bound control's
value to be reset value to what it was before the user made a
selection (and then it's SelectedIndexChanged event fires again). Is
there an elegant way within the SelectedIndexChanged event for a bound
ComboBox control to take the current selection in the control and post
it to the DataSet?
Assume:
ds is the DataSet object
dv has been assigned ds.Tables(0).DefaultView
MyComboBox has been bound to "Column1" within dv
Desired change to process:
1. User changes selection in MyComboBox control
2. MyComboBox_SelectedIndexChanged fires
* Insert elegant way to update MyComboBox's bound item in DataSet *
3. DoOtherStuffWithSameDataSet called
4. Previous bound value is put back in MyComboBox
5. MyComboBox_SelectedIndexChanged refires
Thanks! Tag: Focus on Panel Tag: 56016
GDI+ and Graphics.GetHdc errors
I am having a huge problem with using the GetHdc method of various graphics
objects in various user defined controls. I am constantly getting an
'invalid paramter used' error on my main thread in TOTALY RANDOM scenarios.
I have been trying to debug this for weeks...
Here is the scenario: 350+ clients running our application compiled in 1.1.
Using 2 third party control libraries (where the error is always occuring).
Various controls produce the problem in the simpelest of calls:
IntPtr hDC = doubleBufferGraphic.GetHdc();
m.WParam = hDC;
// Paint background first
PaintBackground(hDC);
// Call the ListView control to do its painting
base.WndProc(ref m);
The first line there is causing the error.
The error seems to be completely hidden inside of the GetHdc call. I have
never gotten the error on my machine. The error is HIGHLY random (almost
never the same window or control causes it) and in no way reproducable.
Error occures mostly on 98 machines, but we have reports on every single
machine (we do automatic error feedback with stack traces and screen shots).
I am thinking there is a problem with the video cards being used but I can't
find any documentation on the video card requirements for gdi+.
Has anyone else ever experienced anything like this at all or have ANY
insite into the problem?
Thanks
-dec Tag: Focus on Panel Tag: 56015
Base's load event fires when inheriting form in design view
I have a windows form in my class library that implements
a load event. The load event calls the MessageBox.Show()
method.
I created a class that inherits that form
programmatically. When I open the inheriting class in
design view, the base load event fires and calls the
MessageBox.Show(). I tried the "Add Inherited Form"
wizard and it did the same thing.
Is this normal? If so, is there a way of suppressing the
load event at design time?
Thank you for the support.
Sincerely,
Enrico Tag: Focus on Panel Tag: 56014
index of hash table
Hi,
How do I get the index of a specific key/value in a hash
table?
Hashtable ht = new Hashtable();
ht.Add("k1", "v1"); // ht[0]
ht.Add("k2", "v2"); // ht[1]
ht.Add("k3", "v3"); // ht[2]
ht.Add("k4", "v4"); // ht[3]
ht.Add("k5", "v5"); // ht[4]
if(ht.ContainsKey("k2")){
// how do I get the index of "k2"?
}
Please help. Thanks.
-CL Tag: Focus on Panel Tag: 56008
Datagrid.VisibleColumnCount on a tabControl failing.
I am having trouble getting the datagrid.VisibleColumnCount property to
return the correct value for datagrids that are on separate tabpages of a
tabbed dialog.
The first datagrid returns the correct value, yet the subsequent two other
datagrids only return back 0. However if I place a break point on the line,
place the mouse over the property it still returns 0, then if I expand the
datagrid in the watch window and scroll down to the property it has the
correct value in, if I then put the mouse back over the property it appears
correctly. The bug is not down to a timing issue as if I wait for a minute
or two the value still does not appear in the property, it only seems to get
the right value when I expand and close the datagrid in the watch window.
I have managed to get this to fail with even the most basic of code, is this
a bug with .Net, or am I doing something really wrong?
'-----------------------------------------------------------------------CODE
-------------------------------------------------------------------
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
populateGrid(dgEmployees, "select * from Employees")
populateGrid(dgorders, "Select * from orders")
populateGrid(dgCustomers, "Select * from customers")
End Sub
Private Sub populateGrid(ByVal dg As DataGrid, ByVal sSQL As String)
Dim cnn As OleDbConnection
Dim da As OleDbDataAdapter = New OleDbDataAdapter
Dim dt As DataTable = New DataTable
cnn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Program Files\Microsoft Visual Studio\VB98\NWIND.MDB;User
Id=admin;Password=;")
cnn.Open()
da.SelectCommand = New OleDbCommand(sSQL, cnn)
da.Fill(dt)
dg.DataSource = dt
MsgBox(dg.VisibleColumnCount.ToString)
End Sub
Thanks for any help.
Steve. Tag: Focus on Panel Tag: 56007
Multiple Forms - Modal
I have the following code in VB6:
(Form1)
Private Sub Command1_Click()
Form2.Show 1
End Sub
(Form2)
Private Sub Command1_Click()
Form2.Hide
End Sub
What is the .NET equivalent of this in C#.NET or VB.NET
Thank you in advance
Ernie Tag: Focus on Panel Tag: 56003
state of a panel, form??
hello,
i have got a panel with several controls in it, including a button which is
disabled.
I want to enable this button whenever, any of the controls inside the panel
changes.
e.g. someone has typed in the textbox,
the datagrid has been edited,(a user edits or inserts a new cell)
a checkbox is checked.
Is there anyway to do this?
Thanks,
Doug Tag: Focus on Panel Tag: 55997
ACCESS over TCP/IP
Anyone knows if it is possible to make a database connection over TCP/IP to
an MS ACCESS database? If yes please give me an example or any documentation
please.
Best regards,
Nuno Tag: Focus on Panel Tag: 55994
No Touch Deployment (licensed components)
How do I deploy a smart client over a URL when the components are licensed?
The license permits limited redistribution.
Leon Tag: Focus on Panel Tag: 55988
CurrentRow in Datagrid - always the first :-(
Hello,
i'm near a depression by using the datagrid...
My Form has "only" one Datagrid 'dgProt',on form_load i
create a dataset 'ds' by first using a dataadapter and
second adding some calculated columns. This ds is the
datasource of the datagrid, datamember is the only one
table 'protokoll' in the dataset.
Me.dgProt.SetDataBinding(ds, "protokoll")
Ok, the grid shows the data. On doubleclick or select a
menuitem, i want to get the currentrow for further
reactions:
I've tried:
Dim x As DataRowView, Id, n
x = Me.BindingContext(ds, "protokoll").Current
Id = x!naqs_nr (the index-column i need)
or:
Dim cm As CurrencyManager = CType(Me.BindingContext
(Me.dgProt.DataSource, Me.dgProt.DataMember),
CurrencyManager)
Dim dv As DataView = CType(cm.List, DataView)
Dim x As DataRow
x = dv.Item(cm.Position).Row
id=x!naqs_nr
or:
Dim bm As BindingManagerBase = Me.BindingContext
(Me.dgProt.DataSource, Me.dgProt.DataMember)
x = CType(bm.Current, DataRowView).Row
Id = x!naqs_nr
------------
The first time, every thing is fine, but after changing
the dataset (e.g. repopulate it by ds.tables
(protokoll).clear and refill with dataadapter), or after
sorting it, i always get the first row. I'v tried to Re-
Bind the datagrid, different other possibilities, but no
effect...
Please help me!
Thanks
Peter Tag: Focus on Panel Tag: 55985
MDI Child Enter event issue
The MDIChild form's Enter event is firing twice whenever it gets focus.
Why? I didn't see the answer to this question in any FAQ so far, but
have seen some other postings asking a similar question.
DETAILS:
I have an MDIParent and two MDI child windows.
ChildA opens Child B and sets B's MDIParent to its own MDIParent. Thus,
both forms have the same MDIParent:
Private Sub LaunchFormBfromFormA()
...
args.MDIParent = Me.MDIParent
Dim F As New FormB(args)
F.Show
End Sub
Form B has an overloaded constructor in which it picks up the MDIParent
reference:
Public Sub New(args)
MyBase.New()
Me.MdiParent = Args.MDIParent
InitializeComponent()
...
End Sub
Whenever form B gets focus, its Enter event fires twice.
TIA
Timo
P.S. I tried to post this question yesterday but didn't see it;
apologies if it appears twice. Tag: Focus on Panel Tag: 55984
Why does MDI child form's Enter event fire twice?
The MDIChild form's Enter event is firing twice whenever it gets focus.
Why? I didn't see the answer to this question in any FAQ so far, but
have seen some other postings asking a similar question.
DETAILS:
I have an MDIParent and two MDI child windows.
ChildA opens Child B and sets B's MDIParent to its own MDIParent. Thus,
both forms have the same MDIParent:
Private Sub LaunchFormBfromFormA()
...
args.MDIParent = Me.MDIParent
Dim F As New FormB(args)
F.Show
End Sub
Form B has an overloaded constructor in which it picks up the MDIParent
reference:
Public Sub New(args)
MyBase.New()
Me.MdiParent = Args.MDIParent
InitializeComponent()
...
End Sub
Whenever form B gets focus, its Enter event fires twice.
TIA
Timo Tag: Focus on Panel Tag: 55983
Programmatically Closing form on load
How do I programmatically close a form after I do some
initial processing? Form.Close() doesn't work in the
constructor or in the form's Load() event.
I've also tried creating an event handler to call a
function that then runs Form.Close(), but that doesn't
work. Has anyone tried closing (without user
intervention) a form after it has just started? Thanks.
jgc Tag: Focus on Panel Tag: 55979
Item has already been added. Key in dictionary:"winbootdir" Key being added: "winbootdir"
When I create a instance of web services proxy in winform, I get the
exception.
Stack Trace:
System.ArgumentException: Item has already been added. Key in
dictionary:"winbootdir" Key being added: "winbootdir"
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean
add)
at System.Collections.Hashtable.Add(Object key, Object value)
at System.Collections.Specialized.StringDictionary.Add(String key, String
value)
at System.CodeDom.Compiler.Executor.ExecWaitWithCapture(IntPtr userToken,
String cmd, String currentDir, TempFileCollection tempFiles, String&
outputName, String& errorName, String trueCmdLine)
at System.CodeDom.Compiler.CodeCompiler.Compile(CompilerParameters
options, String compilerDirectory, String compilerExe, String arguments,
String& outputFile, Int32& nativeReturnValue, String trueArgs)
at System.CodeDom.Compiler.CodeCompiler.FromFileBatch(CompilerParameters
options, String[] fileNames)
at
System.CodeDom.Compiler.CodeCompiler.FromSourceBatch(CompilerParameters
options, String[] sources)
at System.CodeDom.Compiler.CodeCompiler.FromSource(CompilerParameters
options, String source)
at
System.CodeDom.Compiler.CodeCompiler.System.CodeDom.Compiler.ICodeCompiler.C
ompileAssemblyFromSource(CompilerParameters options, String source)
at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[]
mappings)
at System.Web.Services.Protocols.SoapClientType..ctor(Type type)
at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
at Shenjsoft.Dzsb.Net.localhost.CommonService..ctor() Tag: Focus on Panel Tag: 55976
Grid like MSFlexGrid
Anyone know if has a grid like MSFlexGrid that runs in VB6?
I need a grid that a I can put the cell's values manually
don't using a DataTable or DataSet. I need too to change
cell's color individually .
Tanks. Tag: Focus on Panel Tag: 55971
Weird problem with DataGrid Scollbar in wrong place..
I have a form with a tab control with a variety of
datagrids in various pages. In the designer VS2003 C#
project I get a null reference error(with no other
information such as what is a null reference) when
changing between two of the tab control pages in the
designer but the designer works and everything shows.
In the designer the first datagrid on the first page is
set to Dock Fill and gets resized when the form is loaded
as an MDI child window.
The problem is that on first loading the form the
dataGrid's scroll bar does not get repositioned with the
rest of the datagrid, it stays in the position that it
was in the designer, so it ends up mixed in with the
body of the grid.
If you click on the grid and do some navigation within
the grid then it fixes itself. If in the program I load
the same info into the grid again all is fine.
I am figuring that the error in VS2003 designer and the
problem are related but have no idea how to go about
tracking this down.
Anyone else run into this with the datagrid? Tag: Focus on Panel Tag: 55970
how to make custom properties bindable?
Hi!
What should I do to create working bindable property in my
custom control? I took System.Windows.Forms.Label,
inherited into nLabel (numeric label) and added following
code:
[Bindable(true)]
public int val
{
get { return _val;}
set { _val=value; this.Text=_val.ToString(); }
}
next I've bound this control and some other control to one
datasource. I tried to change value in the other control,
but value is locked by my control.
Property events are fired as following: GET (!!!), SET,
SET. The first get locks old value in datasource.
What is wrong?
h. Tag: Focus on Panel Tag: 55969
how do you stay with VS.NET(not 2003) and still use 1.1 Framework?
Hello Everyone,
I have installed 1.1 framework on my machine ,however,
when I go to help-->about it shows framework version
1.0.3705 . How do I get the IDE to point to the 1.1
framework?
Thank You in advance for Your Help,
Ken Tag: Focus on Panel Tag: 55967
datagrid column tabbing
Hello,
I have a datagrid with 3 columns,
however when i tab between the cells, I do not want to make the 3rd column
tabbed.
so it immediately jumps to the 1st column of the next row.
Is there anyway to do this?
Thanks,
Doug Tag: Focus on Panel Tag: 55965
MDI childforms and gripping
I have a problem with MID child forms which has a
statusbar of its own but the gripping part of the form
does not respond to the mouse grip actions. Only the form
border can be clicked and dragged.
In VB 6 this behaviour was correct by in VB.Net it does
not seem to work.
Any suggestions to enable child form statusbars to also
alow grip action?
Thanks
Rudolf Tag: Focus on Panel Tag: 55964
RichTextBox SelectedXXX properties
I would like to allow users to edit some texts in my application. I use RTB
as the text editor. The user can invoke several actions from the ToolBar.
One of the actions should change the size (or style) of SelectedText. it's
been working fine until I've realized that SelectionFont property returns
null value when there is more than one font in the selected text.
My question is then: how should I change the selected text properties (style
and height) when the selection has more than one fonts? I do not want to
change the font completely because there could be several different fonts in
the selection! I just would like to change, say, the height.
this works brilliant in MSWord: you can select a fragment of the text and
change the height of it, no matter how many fonts the selection include. I
am not able to do it with RichTextBox.
Thanks for your help,
Wiktor Zychla Tag: Focus on Panel Tag: 55963