TextBox Customization How can I make it Readonly

I am a beginner and have not used the EpiViewNotification form event?

Would I add the code as a new private Sub module and
call it from the if statement?
Â
Test code does not return anything at all.
I am logging all the way out and back in to be sure to get the custom form.
Â
Thanks
Doug

--- On Wed, 2/4/09, Vic Drecchio <vic.drecchio@...> wrote:

From: Vic Drecchio <vic.drecchio@...>
Subject: RE: [Vantage] Re: TextBox Customization How can I make it Readonly
To: vantage@yahoogroups.com
Date: Wednesday, February 4, 2009, 10:11 AM






Have you tried putting that all in the EpiViewNotification form event?

Does the "Test Code" reveal any errors?

-----Original Message-----
From: vantage@yahoogroups .com [mailto:vantage@yahoogroups .com] On Behalf Of bw2868bond
Sent: Wednesday, February 04, 2009 11:03 AM
To: vantage@yahoogroups .com
Subject: [Vantage] Re: TextBox Customization How can I make it Readonly

Don't see why that would not work.
Are you actually calling SetExtendedProps( )
in the InitializeCustomCod e ?

--- In vantage@yahoogroups .com, Doug Davis <ddavis4569@ ...> wrote:
>
> Does anyone know how to make the textbox to be readonly.
> Setting the property of the textbox for Part.Number01 readonly =
true does not work.
> Â
> I have tried using the Script Editor following the help example
and still can not get the textbox to appear as readonly.
> Â
> This is what I was trying to use.
> Â
> To extend the properties of an EpiDataView, create the below method
and call it from the InitializeCustomCod e() method:
> Private Sub SetExtendedProps( )
> `// Get
> Dim edv As EpiDataView = CType(oTrans. EpiDataViews( "Part"),
EpiDataView)
> If edv.dataView. Table.Columns. Contains( "Number01" ) Then
> Â Â edv.dataView. Table.Columns( "Number01" ).ExtendedProper ties
("ReadOnly") = True
> Â Â edv.dataView. Table.Columns( "Number01" ).ExtendedProper ties
("Enabled") = False
> `// or to make invisible...
> `edv.dataView. Table.Columns( "Number01" ).ExtendedProper ties
("IsHidden") = False
> End if Â
> End Sub
>
> Thanks for any Help
> Dou
>
>
>
>
> [Non-text portions of this message have been removed]
>

------------ --------- --------- ------

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups. yahoo.com/ group/vantage/ files/.
(2) To search through old msg's goto: http://groups. yahoo.com/ group/vantage/ messages
(3) To view links to Vendors that provide Vantage services goto: http://groups. yahoo.com/ group/vantage/ linksYahoo! Groups Links


















[Non-text portions of this message have been removed]
Does anyone know how to make a text box multi-lined vs one continuous
line. I added a Text Box to a custom form and the text box is only
allowing users to continue text on one line versus ending and
continuing on the next line like what happens with Epicors comment
boxes. Any ideas on this one?? Thanks!

-Sal
Check the properties for your EpiTextBox.

MultiLine
WordWrap

Set both to true.

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of idiabos
Sent: Friday, January 23, 2009 12:41 PM
To: vantage@yahoogroups.com
Subject: [Vantage] TextBox Customization

Does anyone know how to make a text box multi-lined vs one continuous
line. I added a Text Box to a custom form and the text box is only
allowing users to continue text on one line versus ending and
continuing on the next line like what happens with Epicors comment
boxes. Any ideas on this one?? Thanks!

-Sal


------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder
and Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
The the properties of the textbox, select "Muliline" to be TRUE.



Daniel Laidig
Laidig Systems, Inc.
(574) 256-0204 ext. 229
<mailto:daniellaidig@...> daniellaidig@...

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
idiabos
Sent: Friday, January 23, 2009 12:41 PM
To: vantage@yahoogroups.com
Subject: [Vantage] TextBox Customization



Does anyone know how to make a text box multi-lined vs one continuous
line. I added a Text Box to a custom form and the text box is only
allowing users to continue text on one line versus ending and
continuing on the next line like what happens with Epicors comment
boxes. Any ideas on this one?? Thanks!

-Sal





[Non-text portions of this message have been removed]
Thanks Daniel and Vic! Worked out great!

--- In vantage@yahoogroups.com, "Daniel Laidig" <daniellaidig@...> wrote:
>
> The the properties of the textbox, select "Muliline" to be TRUE.
>
>
>
> Daniel Laidig
> Laidig Systems, Inc.
> (574) 256-0204 ext. 229
> <mailto:daniellaidig@...> daniellaidig@...
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf Of
> idiabos
> Sent: Friday, January 23, 2009 12:41 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] TextBox Customization
>
>
>
> Does anyone know how to make a text box multi-lined vs one continuous
> line. I added a Text Box to a custom form and the text box is only
> allowing users to continue text on one line versus ending and
> continuing on the next line like what happens with Epicors comment
> boxes. Any ideas on this one?? Thanks!
>
> -Sal
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Does anyone know how to make the textbox to be readonly.
Setting the property of the textbox for Part.Number01 readonly = true does not work.
�
I have tried using the Script Editor� following the help example and still can not get the textbox to appear as readonly.
�
This is what I was trying to use.
�
To extend the properties of an EpiDataView, create the below method and call it from the InitializeCustomCode() method:
Private Sub SetExtendedProps()
�// Get
Dim edv As EpiDataView = CType(oTrans.EpiDataViews("Part"), EpiDataView)
If edv.dataView.Table.Columns.Contains("Number01") Then
�� edv.dataView.Table.Columns("Number01").ExtendedProperties("ReadOnly") = True
�� edv.dataView.Table.Columns("Number01").ExtendedProperties("Enabled") = False
�// or to make invisible�
�edv.dataView.Table.Columns("Number01").ExtendedProperties("IsHidden") = False
End if��
End Sub

Thanks for any Help
Doug

--- On Fri, 1/23/09, Daniel Laidig <daniellaidig@...> wrote:

From: Daniel Laidig <daniellaidig@...>
Subject: RE: [Vantage] TextBox Customization
To: vantage@yahoogroups.com
Date: Friday, January 23, 2009, 11:48 AM






The the properties of the textbox, select "Muliline" to be TRUE.

Daniel Laidig
Laidig Systems, Inc.
(574) 256-0204 ext. 229
<mailto:daniellaidig@ laidig.com> daniellaidig@ laidig.com

From: vantage@yahoogroups .com [mailto:vantage@yahoogroups .com] On Behalf Of
idiabos
Sent: Friday, January 23, 2009 12:41 PM
To: vantage@yahoogroups .com
Subject: [Vantage] TextBox Customization

Does anyone know how to make a text box multi-lined vs one continuous
line. I added a Text Box to a custom form and the text box is only
allowing users to continue text on one line versus ending and
continuing on the next line like what happens with Epicors comment
boxes. Any ideas on this one?? Thanks!

-Sal

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


















[Non-text portions of this message have been removed]
Does anyone know how to make the textbox to be readonly.
Setting the property of the textbox for Part.Number01 readonly = true does not work.
�
I have tried using the Script Editor� following the help example and still can not get the textbox to appear as readonly.
�
This is what I was trying to use.
�
To extend the properties of an EpiDataView, create the below method and call it from the InitializeCustomCode() method:
Private Sub SetExtendedProps()
�// Get
Dim edv As EpiDataView = CType(oTrans.EpiDataViews("Part"), EpiDataView)
If edv.dataView.Table.Columns.Contains("Number01") Then
�� edv.dataView.Table.Columns("Number01").ExtendedProperties("ReadOnly") = True
�� edv.dataView.Table.Columns("Number01").ExtendedProperties("Enabled") = False
�// or to make invisible�
�edv.dataView.Table.Columns("Number01").ExtendedProperties("IsHidden") = False
End if��
End Sub

Thanks for any Help
Dou




[Non-text portions of this message have been removed]
Don't see why that would not work.
Are you actually calling SetExtendedProps()
in the InitializeCustomCode ?

--- In vantage@yahoogroups.com, Doug Davis <ddavis4569@...> wrote:
>
> Does anyone know how to make the textbox to be readonly.
> Setting the property of the textbox for Part.Number01 readonly =
true does not work.
> Â
> I have tried using the Script Editor following the help example
and still can not get the textbox to appear as readonly.
> Â
> This is what I was trying to use.
> Â
> To extend the properties of an EpiDataView, create the below method
and call it from the InitializeCustomCode() method:
> Private Sub SetExtendedProps()
> `// Get
> Dim edv As EpiDataView = CType(oTrans.EpiDataViews("Part"),
EpiDataView)
> If edv.dataView.Table.Columns.Contains("Number01") Then
> Â Â edv.dataView.Table.Columns("Number01").ExtendedProperties
("ReadOnly") = True
> Â Â edv.dataView.Table.Columns("Number01").ExtendedProperties
("Enabled") = False
> `// or to make invisibleÂ…
> `edv.dataView.Table.Columns("Number01").ExtendedProperties
("IsHidden") = False
> End if Â
> End Sub
>
> Thanks for any Help
> Dou
>
>
>
>
> [Non-text portions of this message have been removed]
>
Have you tried putting that all in the EpiViewNotification form event?

Does the "Test Code" reveal any errors?

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of bw2868bond
Sent: Wednesday, February 04, 2009 11:03 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: TextBox Customization How can I make it Readonly

Don't see why that would not work.
Are you actually calling SetExtendedProps()
in the InitializeCustomCode ?

--- In vantage@yahoogroups.com, Doug Davis <ddavis4569@...> wrote:
>
> Does anyone know how to make the textbox to be readonly.
> Setting the property of the textbox for Part.Number01 readonly =
true does not work.
> Â
> I have tried using the Script Editor following the help example
and still can not get the textbox to appear as readonly.
> Â
> This is what I was trying to use.
> Â
> To extend the properties of an EpiDataView, create the below method
and call it from the InitializeCustomCode() method:
> Private Sub SetExtendedProps()
> `// Get
> Dim edv As EpiDataView = CType(oTrans.EpiDataViews("Part"),
EpiDataView)
> If edv.dataView.Table.Columns.Contains("Number01") Then
> Â Â edv.dataView.Table.Columns("Number01").ExtendedProperties
("ReadOnly") = True
> Â Â edv.dataView.Table.Columns("Number01").ExtendedProperties
("Enabled") = False
> `// or to make invisible...
> `edv.dataView.Table.Columns("Number01").ExtendedProperties
("IsHidden") = False
> End if Â
> End Sub
>
> Thanks for any Help
> Dou
>
>
>
>
> [Non-text portions of this message have been removed]
>




------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
Maybe that is the problem.
I am going to the script editor and adding the SetExtendedProps( )� after the last end sub and before the end module.
Inside the Sub InitializeCustomCode(), I am trying to call the SetExtendedProps( )�.
�
What would the syntax of the call be? Maybe I am using the wrong command to call it but not getting a syntax error.
�
Thanks

--- On Wed, 2/4/09, bw2868bond <bwalker@...> wrote:

From: bw2868bond <bwalker@...>
Subject: [Vantage] Re: TextBox Customization How can I make it Readonly
To: vantage@yahoogroups.com
Date: Wednesday, February 4, 2009, 10:02 AM






Don't see why that would not work.
Are you actually calling SetExtendedProps( )
in the InitializeCustomCod e ?

--- In vantage@yahoogroups .com, Doug Davis <ddavis4569@ ...> wrote:
>
> Does anyone know how to make the textbox to be readonly.
> Setting the property of the textbox for Part.Number01 readonly =
true does not work.
> �
> I have tried using the Script Editor� following the help example
and still can not get the textbox to appear as readonly.
> �
> This is what I was trying to use.
> �
> To extend the properties of an EpiDataView, create the below method
and call it from the InitializeCustomCod e() method:
> Private Sub SetExtendedProps( )
> `// Get
> Dim edv As EpiDataView = CType(oTrans. EpiDataViews( "Part"),
EpiDataView)
> If edv.dataView. Table.Columns. Contains( "Number01" ) Then
> �� edv.dataView. Table.Columns( "Number01" ).ExtendedProper ties
("ReadOnly") = True
> �� edv.dataView. Table.Columns( "Number01" ).ExtendedProper ties
("Enabled") = False
> `// or to make invisible�
> `edv.dataView. Table.Columns( "Number01" ).ExtendedProper ties
("IsHidden") = False
> End if��
> End Sub
>
> Thanks for any Help
> Dou
>
>
>
>
> [Non-text portions of this message have been removed]
>



















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