Customization: TabStop (Not Allowing Me to Disable)

--- In vantage@yahoogroups.com, "pbriscoe10" <pbriscoe10@...> wrote:
>
> Hello,
>
> I added a checkbox to one of my screens via customization. However,
> now when I try to set TabStop to "False" to skip over the checkbox
> while tabbing through the screen, the setting doesn't take effect.
> Even though I save the customization, exit the program and come
back,
> the TabStop setting changes back to "True." Has anyone else had
this
> problem, or do you know what may be causing it? Thank you.
>
many times with field properties the base code will override any
changes you make directly in the properties grid view. Use an event
handler or make a custom reference to that object and change the
property ex.

Private Sub JobEntryForm_Load(ByVal sender As object, ByVal
args As EventArgs) Handles JobEntryForm.Load
'//
'// Add Event Handler Code
'//

Dim chklocked As EpiCheckBox = ctype
(csm.GetNativeControlReference("ad10d683-6c43-4ba0-ac2b-
9100fbd104ed"),EpiCheckBox)
chklocked.tabstop = False
// or chklocked.tabindex = 999
End Sub

the control reference is on the grid properties view (highlight the
object and look at epiguid
Hello,

I added a checkbox to one of my screens via customization. However,
now when I try to set TabStop to "False" to skip over the checkbox
while tabbing through the screen, the setting doesn't take effect.
Even though I save the customization, exit the program and come back,
the TabStop setting changes back to "True." Has anyone else had this
problem, or do you know what may be causing it? Thank you.
By exit the program do you mean you close vantage completely or you just
closed that application of vantage. If you only closed the application of
vantage you might want to try closing vantage complete.



I've have also know that the customization tool has quite a few qwerks. This
may be one of them.



~Charlie

_____

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
pbriscoe10
Sent: Monday, March 02, 2009 10:09 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Customization: TabStop (Not Allowing Me to Disable)



Hello,

I added a checkbox to one of my screens via customization. However,
now when I try to set TabStop to "False" to skip over the checkbox
while tabbing through the screen, the setting doesn't take effect.
Even though I save the customization, exit the program and come back,
the TabStop setting changes back to "True." Has anyone else had this
problem, or do you know what may be causing it? Thank you.



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.237 / Virus Database: 270.11.4/1976 - Release Date: 02/27/09
13:27:00




[Non-text portions of this message have been removed]
I have seen too many times, properties of controls overwritten by
properties inherent in the dataview

I would add an event handler to reset the value back to false if it
becomes true:

Private Sub chkEpiCustom1_TabStopChanged(ByVal Sender As Object,
ByVal Args As System.EventArgs) Handles chkEpiCustom1.TabStopChanged
'// ** Place Event Handling Code Here **
If chkEpiCustom1.TabStop
chkEpiCustom1.TabStop = False
End If
End Sub

--- In vantage@yahoogroups.com, "Charlie Wilson" <foamdesigncsw@...>
wrote:
>
> By exit the program do you mean you close vantage completely or you
just
> closed that application of vantage. If you only closed the
application of
> vantage you might want to try closing vantage complete.
>
>
>
> I've have also know that the customization tool has quite a few
qwerks. This
> may be one of them.
>
>
>
> ~Charlie
>
> _____
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf Of
> pbriscoe10
> Sent: Monday, March 02, 2009 10:09 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Customization: TabStop (Not Allowing Me to
Disable)
>
>
>
> Hello,
>
> I added a checkbox to one of my screens via customization. However,
> now when I try to set TabStop to "False" to skip over the checkbox
> while tabbing through the screen, the setting doesn't take effect.
> Even though I save the customization, exit the program and come
back,
> the TabStop setting changes back to "True." Has anyone else had
this
> problem, or do you know what may be causing it? Thank you.
>
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.0.237 / Virus Database: 270.11.4/1976 - Release Date:
02/27/09
> 13:27:00
>
>
>
>
> [Non-text portions of this message have been removed]
>
I had the same problem making the user fields readonly.
The form will over ride the defaults depending on what is going on such as a new record.
User fields are hard to set the defaults that way.
Â
Go to the help screen and look at The EpiDataView Object help section.
I used the code there as a template.
Â
I added an event handler using the form event wizard that called the SetExtendedQuoteDtlProps()

In the SetExtendedQuoteDtlProps() subroutine I set the readonly to true.
Â
see the code below.
Â
Private Sub edvQuoteDtl_EpiViewNotification(view As EpiDataView, args As EpiNotifyArgs) Handles edvQuoteDtl.EpiViewNotification
  '// ** Argument Properties and Uses **
  '// view.dataView(args.Row)("[FieldName]")
  '// args.Row, args.Column, args.Sender, args.NotifyType
  '// NotifyType.Initialize, NotifyType.AddRow, NotifyType.DeleteRow, NotifyType.InitLastView, NotifyType.InitAndResetTreeNodes
  If (args.NotifyType = EpiTransaction.NotifyType.AddRow) Then
   If (args.Row > -1) Then
 call SetExtendedQuoteDtlProps()
   End If
  End If
 End Sub
Â

 Private Sub SetExtendedQuoteDtlProps()
      Dim edv As EpiDataView = CType(oTrans.EpiDataViews("QuoteDtl"), 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
     edv.dataView.Table.Columns("Number02").ExtendedProperties("ReadOnly") = True
       edv.dataView.Table.Columns("Number02").ExtendedProperties("Enabled") = False
     edv.dataView.Table.Columns("Number03").ExtendedProperties("ReadOnly") = True
       edv.dataView.Table.Columns("Number03").ExtendedProperties("Enabled") = False
        edv.dataView.Table.Columns("Number04").ExtendedProperties("ReadOnly") = True
       edv.dataView.Table.Columns("Number04").ExtendedProperties("Enabled") = False
        edv.dataView.Table.Columns("Number05").ExtendedProperties("ReadOnly") = True
       edv.dataView.Table.Columns("Number05").ExtendedProperties("Enabled") = False
        edv.dataView.Table.Columns("Number06").ExtendedProperties("ReadOnly") = True
       edv.dataView.Table.Columns("Number06").ExtendedProperties("Enabled") = False
        edv.dataView.Table.Columns("Number07").ExtendedProperties("ReadOnly") = True
       edv.dataView.Table.Columns("Number07").ExtendedProperties("Enabled") = False
        edv.dataView.Table.Columns("Number08").ExtendedProperties("ReadOnly") = True
       edv.dataView.Table.Columns("Number08").ExtendedProperties("Enabled") = False
        edv.dataView.Table.Columns("Number09").ExtendedProperties("ReadOnly") = True
       edv.dataView.Table.Columns("Number09").ExtendedProperties("Enabled") = False
      Â
    End if Â
   Â

--- On Mon, 3/2/09, pbriscoe10 <pbriscoe10@...> wrote:

From: pbriscoe10 <pbriscoe10@...>
Subject: [Vantage] Customization: TabStop (Not Allowing Me to Disable)
To: vantage@yahoogroups.com
Date: Monday, March 2, 2009, 9:08 AM






Hello,

I added a checkbox to one of my screens via customization. However,
now when I try to set TabStop to "False" to skip over the checkbox
while tabbing through the screen, the setting doesn't take effect.
Even though I save the customization, exit the program and come back,
the TabStop setting changes back to "True." Has anyone else had this
problem, or do you know what may be causing it? Thank you.



















[Non-text portions of this message have been removed]
Well, it's good to know I'm not the only one having this problem. I am
not very familiar with coding yet, but based on the suggestions here,
I will look into getting this worked out. Thank you for the tips!
Try setting the tabIndex to a very high number.
Â
-Karl

--- On Mon, 3/2/09, pbriscoe10 <pbriscoe10@...> wrote:

From: pbriscoe10 <pbriscoe10@...>
Subject: [Vantage] Customization: TabStop (Not Allowing Me to Disable)
To: vantage@yahoogroups.com
Date: Monday, March 2, 2009, 7:08 AM






Hello,

I added a checkbox to one of my screens via customization. However,
now when I try to set TabStop to "False" to skip over the checkbox
while tabbing through the screen, the setting doesn't take effect.
Even though I save the customization, exit the program and come back,
the TabStop setting changes back to "True." Has anyone else had this
problem, or do you know what may be causing it? Thank you.



















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