Vantage 8.03.405a TextBox Font weirdness

Here is some code if anyone wants to set the textbox controls to always
be in edit mode:

Private Sub TextboxAlwaysInEditMode(Optional ByRef ctls As
System.Windows.Forms.Control.ControlCollection = Nothing)
If ctls Is Nothing Then ctls = oTrans.EpiBaseForm.Controls
For Each ctl As Control In ctls

If ctl.HasChildren Then
TextboxAlwaysInEditMode(ctl.Controls)

If TypeOf(ctl) Is
Infragistics.Win.UltraWinEditors.UltraTextEditor Then
Dim txt As
Infragistics.Win.UltraWinEditors.UltraTextEditor = CType (ctl,
Infragistics.Win.UltraWinEditors.UltraTextEditor)
txt.AlwaysInEditMode = True
End If
Next

End Sub



In the form load event place the call to the sub:

TextboxAlwaysInEditMode()
A user complained about the text shifting in a text box when they click
inside the box to copy some text.

We are using a Character field to store comments in Part Entry. The
text box is the same size as the standard comment boxes. If there
happens to be a lot of text and they click like midway across the line
to copy some text, the font seems to shrink a bit and the click
insertion point actually ends up a couple of character off from the
initial click.

Has anyone else noticed this? The text box is using the default ms sans
serif 8.25 pt font.


bw
It shifts the text because when you click in the textbox, it adds the
vertical scrollbar to the box, making the textbox smaller. I don't know of
a way to always show the vertical scrollbar. That would solve your
problems. I created a couple customizations and some always show the
scrollbar and some just show it once you click in the field but I don't
think I did anything different between the two.



Daniel

_____

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
bw2868bond
Sent: Thursday, September 04, 2008 10:04 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Vantage 8.03.405a TextBox Font weirdness



A user complained about the text shifting in a text box when they click
inside the box to copy some text.

We are using a Character field to store comments in Part Entry. The
text box is the same size as the standard comment boxes. If there
happens to be a lot of text and they click like midway across the line
to copy some text, the font seems to shrink a bit and the click
insertion point actually ends up a couple of character off from the
initial click.

Has anyone else noticed this? The text box is using the default ms sans
serif 8.25 pt font.

bw





[Non-text portions of this message have been removed]
Is the scrollbar invisible? I dont see it when the box is clicked :(
I played around with some different fonts - some shift larger when
clicked....

--- In vantage@yahoogroups.com, "Daniel Laidig" <daniellaidig@...>
wrote:
>
> It shifts the text because when you click in the textbox, it adds
the
> vertical scrollbar to the box, making the textbox smaller. I
don't know of
> a way to always show the vertical scrollbar. That would solve your
> problems. I created a couple customizations and some always show
the
> scrollbar and some just show it once you click in the field but I
don't
> think I did anything different between the two.
>
>
>
> Daniel
>
> _____
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf Of
> bw2868bond
> Sent: Thursday, September 04, 2008 10:04 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Vantage 8.03.405a TextBox Font weirdness
>
>
>
> A user complained about the text shifting in a text box when they
click
> inside the box to copy some text.
>
> We are using a Character field to store comments in Part Entry. The
> text box is the same size as the standard comment boxes. If there
> happens to be a lot of text and they click like midway across the
line
> to copy some text, the font seems to shrink a bit and the click
> insertion point actually ends up a couple of character off from the
> initial click.
>
> Has anyone else noticed this? The text box is using the default ms
sans
> serif 8.25 pt font.
>
> bw
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
I've notice that the character width of the text box that is active
('has focus' to we programmers) is slightly smaller than others with
the same properties. This is most noticable in a grid when a coulmn
contains the same value for adjacent records.

I don't know if the programmers desired it to do that or if it is a
bug. I'm sure the marketing folks would spin it as 'Subliminal
Visual Confirmation of Selected Field'

I'm more perosnally irked at the inconsistant grid cell entry
methods. Sometimes the tab will take you to the next field,
sometimes it doesn't. The home key might take you to the first
column in the grid, or maybe the first character position in the cell.


Calvin

--- In vantage@yahoogroups.com, "bw2868bond" <bwalker@...> wrote:
>
> A user complained about the text shifting in a text box when they
click
> inside the box to copy some text.
>
> We are using a Character field to store comments in Part Entry. The
> text box is the same size as the standard comment boxes. If there
> happens to be a lot of text and they click like midway across the
line
> to copy some text, the font seems to shrink a bit and the click
> insertion point actually ends up a couple of character off from the
> initial click.
>
> Has anyone else noticed this? The text box is using the default ms
sans
> serif 8.25 pt font.
>
>
> bw
>
LOL!

'Subliminal Visual Confirmation of Selected Field'

Just like "It does not hurt as much as you think."


--- In vantage@yahoogroups.com, "Calvin Krusen" <ckrusen@...> wrote:
>
> I've notice that the character width of the text box that is active
> ('has focus' to we programmers) is slightly smaller than others
with
> the same properties. This is most noticable in a grid when a
coulmn
> contains the same value for adjacent records.
>
> I don't know if the programmers desired it to do that or if it is a
> bug. I'm sure the marketing folks would spin it as 'Subliminal
> Visual Confirmation of Selected Field'
>
> I'm more perosnally irked at the inconsistant grid cell entry
> methods. Sometimes the tab will take you to the next field,
> sometimes it doesn't. The home key might take you to the first
> column in the grid, or maybe the first character position in the
cell.
>
>
> Calvin
>
> --- In vantage@yahoogroups.com, "bw2868bond" <bwalker@> wrote:
> >
> > A user complained about the text shifting in a text box when they
> click
> > inside the box to copy some text.
> >
> > We are using a Character field to store comments in Part Entry.
The
> > text box is the same size as the standard comment boxes. If there
> > happens to be a lot of text and they click like midway across the
> line
> > to copy some text, the font seems to shrink a bit and the click
> > insertion point actually ends up a couple of character off from
the
> > initial click.
> >
> > Has anyone else noticed this? The text box is using the default
ms
> sans
> > serif 8.25 pt font.
> >
> >
> > bw
> >
>
Sorry, I guess I'm wrong, it isn't because the scroll bar. Yeah, it appears
happens in the grids too.



Daniel

_____

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Daniel Laidig
Sent: Thursday, September 04, 2008 10:39 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Vantage 8.03.405a TextBox Font weirdness



It shifts the text because when you click in the textbox, it adds the
vertical scrollbar to the box, making the textbox smaller. I don't know of
a way to always show the vertical scrollbar. That would solve your
problems. I created a couple customizations and some always show the
scrollbar and some just show it once you click in the field but I don't
think I did anything different between the two.

Daniel

_____

From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
[mailto:vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com] On
Behalf Of
bw2868bond
Sent: Thursday, September 04, 2008 10:04 AM
To: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
Subject: [Vantage] Vantage 8.03.405a TextBox Font weirdness

A user complained about the text shifting in a text box when they click
inside the box to copy some text.

We are using a Character field to store comments in Part Entry. The
text box is the same size as the standard comment boxes. If there
happens to be a lot of text and they click like midway across the line
to copy some text, the font seems to shrink a bit and the click
insertion point actually ends up a couple of character off from the
initial click.

Has anyone else noticed this? The text box is using the default ms sans
serif 8.25 pt font.

bw

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
To further exasperate matters, the data provided as a sample to me,
came from a legacy 'green screen' system and has embedded CRLF in it.
In V8.00.811 they were not taken into account in the textbox display
but it appears that now the textbox will display them when databound
but not when in edit mode - it doesn't take too many to really make
your eyes jump :o)


The shift is evident with plain text and does not occur in the
8.00.811 system. Infragistics probably messed around with stuff
between the old V2 and the 'new' V6.3

Now to figure out how to scrub the data......

bw


--- In vantage@yahoogroups.com, "Daniel Laidig" <daniellaidig@...>
wrote:
>
> Sorry, I guess I'm wrong, it isn't because the scroll bar. Yeah,
it appears
> happens in the grids too.
>
>
>
> Daniel
>
> _____
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf Of
> Daniel Laidig
> Sent: Thursday, September 04, 2008 10:39 AM
> To: vantage@yahoogroups.com
> Subject: RE: [Vantage] Vantage 8.03.405a TextBox Font weirdness
>
>
>
> It shifts the text because when you click in the textbox, it adds
the
> vertical scrollbar to the box, making the textbox smaller. I don't
know of
> a way to always show the vertical scrollbar. That would solve your
> problems. I created a couple customizations and some always show the
> scrollbar and some just show it once you click in the field but I
don't
> think I did anything different between the two.
>
> Daniel
>
> _____
>
> From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
> [mailto:vantage@yahoogroups <mailto:vantage%
40yahoogroups.com> .com] On
> Behalf Of
> bw2868bond
> Sent: Thursday, September 04, 2008 10:04 AM
> To: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
> Subject: [Vantage] Vantage 8.03.405a TextBox Font weirdness
>
> A user complained about the text shifting in a text box when they
click
> inside the box to copy some text.
>
> We are using a Character field to store comments in Part Entry. The
> text box is the same size as the standard comment boxes. If there
> happens to be a lot of text and they click like midway across the
line
> to copy some text, the font seems to shrink a bit and the click
> insertion point actually ends up a couple of character off from the
> initial click.
>
> Has anyone else noticed this? The text box is using the default ms
sans
> serif 8.25 pt font.
>
> bw
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Final post on this subject - Promise :o)

In the textbox layout event, I set the AlwaysInEditMode property to
true

This cures my problem - and I hope does not cause others....

bw

--- In vantage@yahoogroups.com, "bw2868bond" <bwalker@...> wrote:
>
> To further exasperate matters, the data provided as a sample to me,
> came from a legacy 'green screen' system and has embedded CRLF in
it.
> In V8.00.811 they were not taken into account in the textbox
display
> but it appears that now the textbox will display them when
databound
> but not when in edit mode - it doesn't take too many to really make
> your eyes jump :o)
>
>
> The shift is evident with plain text and does not occur in the
> 8.00.811 system. Infragistics probably messed around with stuff
> between the old V2 and the 'new' V6.3
>
> Now to figure out how to scrub the data......
>
> bw
>
>
> --- In vantage@yahoogroups.com, "Daniel Laidig" <daniellaidig@>
> wrote:
> >
> > Sorry, I guess I'm wrong, it isn't because the scroll bar. Yeah,
> it appears
> > happens in the grids too.
> >
> >
> >
> > Daniel
> >
> > _____
> >
> > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
> Behalf Of
> > Daniel Laidig
> > Sent: Thursday, September 04, 2008 10:39 AM
> > To: vantage@yahoogroups.com
> > Subject: RE: [Vantage] Vantage 8.03.405a TextBox Font weirdness
> >
> >
> >
> > It shifts the text because when you click in the textbox, it adds
> the
> > vertical scrollbar to the box, making the textbox smaller. I
don't
> know of
> > a way to always show the vertical scrollbar. That would solve your
> > problems. I created a couple customizations and some always show
the
> > scrollbar and some just show it once you click in the field but I
> don't
> > think I did anything different between the two.
> >
> > Daniel
> >
> > _____
> >
> > From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
> > [mailto:vantage@yahoogroups <mailto:vantage%
> 40yahoogroups.com> .com] On
> > Behalf Of
> > bw2868bond
> > Sent: Thursday, September 04, 2008 10:04 AM
> > To: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
> > Subject: [Vantage] Vantage 8.03.405a TextBox Font weirdness
> >
> > A user complained about the text shifting in a text box when they
> click
> > inside the box to copy some text.
> >
> > We are using a Character field to store comments in Part Entry.
The
> > text box is the same size as the standard comment boxes. If there
> > happens to be a lot of text and they click like midway across the
> line
> > to copy some text, the font seems to shrink a bit and the click
> > insertion point actually ends up a couple of character off from
the
> > initial click.
> >
> > Has anyone else noticed this? The text box is using the default
ms
> sans
> > serif 8.25 pt font.
> >
> > bw
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
Yes. I just noticed it today in the production rate field of Job entry operation details.

I know we are having issues with barcodes as well. Bar code imbedded tabs are no longer 'grabbing' the entire 0.00 values in blank numeric form fields. I believe they are grabbing only the 00 to the right of the decimal point so scanned or typed in qty values are being entered as decimals. (ex.,: 0.29 instead of 29).

Apparently Infragistics has made changes to their text box control used by Epicor.

Very irritating to say the least.

--- On Thu, 9/4/08, bw2868bond <bwalker@...> wrote:

From: bw2868bond <bwalker@...>
Subject: [Vantage] Vantage 8.03.405a TextBox Font weirdness
To: vantage@yahoogroups.com
Date: Thursday, September 4, 2008, 10:04 AM






A user complained about the text shifting in a text box when they click
inside the box to copy some text.

We are using a Character field to store comments in Part Entry. The
text box is the same size as the standard comment boxes. If there
happens to be a lot of text and they click like midway across the line
to copy some text, the font seems to shrink a bit and the click
insertion point actually ends up a couple of character off from the
initial click.

Has anyone else noticed this? The text box is using the default ms sans
serif 8.25 pt font.

bw