Search found 193 matches: protected

Return to advanced search

Re: Password protected access to menu. Advice ?

Marc, Yes for most of what you said. Functions User() will create the object as static to see all over the program And yes, for the above, however this is a special case like for user. Normally you declare and create the object in the routine and use it just like a local. However, an object can cont...
by James Bott
Thu May 11, 2017 2:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Password protected access to menu. Advice ?
Replies: 25
Views: 3604

Re: Password protected access to menu. Advice ?

James, In the Class we put all the items we think we need : data bird as date data tva as char data counter as num in the method new we set the defaults ? :: name:="" :: bird:=ctod("26/11/1985") :: tva:= "blabla" :: counter:= 1 but also from from datasource ? :: bird:= ...
by Marc Venken
Wed May 10, 2017 9:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Password protected access to menu. Advice ?
Replies: 25
Views: 3604

Re: Password protected access to menu. Advice ?

Marc, To early I can't see the logic. Are you familiar with STATICs? This is just using a static variable inside a function to hold an object. The reason for doing this is because the static will hold the object until the program is ended. So, you can access the object anywhere without even declarin...
by James Bott
Wed May 10, 2017 2:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Password protected access to menu. Advice ?
Replies: 25
Views: 3604

Re: Password protected access to menu. Advice ?

James,

I'm not ready yet for this. I haven't had the time to look into your info on your site :oops:

I can work with the database like
function(oDbf)

? oDbf:Naam
? oDbf:Street
...
and oDbf:save() ...

But with Method like your sample. To early I can't see the logic.
by Marc Venken
Tue May 09, 2017 8:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Password protected access to menu. Advice ?
Replies: 25
Views: 3604

Re: Password protected access to menu. Advice ?

Thanks for the input. Rick, I like the idea of a Xbrowse like yours, and folow the idea. SO, I create a browse with colums "Team1,Team2,Team3,..." Rows "Trainer1, Trainer2,Trainer3...." Trainer 1 J,N,N,N,J Trainer 2 N,N,N,J,N A trainer logs into the system, and I retrieve the row...
by Marc Venken
Tue May 09, 2017 8:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Password protected access to menu. Advice ?
Replies: 25
Views: 3604

Re: Password protected access to menu. Advice ?

Enrico, This has the advantage that you can easily locate them. Yes, it is an advantage over using a PUBLIC without the "m->" nomenclature. However you can easily locate the user object too. Just search for "user()" You can also add methods to the user object--something you ca...
by James Bott
Mon May 08, 2017 10:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Password protected access to menu. Advice ?
Replies: 25
Views: 3604

Re: Password protected access to menu. Advice ?

James Bott wrote:Here is a sample showing how you can eliminate publics. One disadvantage of using publics is that they have to be declared in every routine that uses them or you will get compiler warnings.


Or you can use them as

Code: Select all  Expand view
M -> varname


This has the advantage that you can easily locate them.

EMG
by Enrico Maria Giordano
Mon May 08, 2017 4:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Password protected access to menu. Advice ?
Replies: 25
Views: 3604

Re: Password protected access to menu. Advice ?

Here is a sample showing how you can eliminate publics. One disadvantage of using publics is that they have to be declared in every routine that uses them or you will get compiler warnings. Of course, since publics are visible everywhere you always run the risk of conflicts with locals and fieldname...
by James Bott
Mon May 08, 2017 2:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Password protected access to menu. Advice ?
Replies: 25
Views: 3604

Re: Password protected access to menu. Advice ?

Marc Like you .. I have roles for each of the users of my applications .. I set PUBLIC charactors (YN) values for each role : http://i65.tinypic.com/35au4pk.jpg In this case xRead := "Y" xWrite := "Y" xTech := "Y" xMgr := "Y" xDisp :="Y&qu...
by Rick Lipkin
Mon May 08, 2017 1:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Password protected access to menu. Advice ?
Replies: 25
Views: 3604

Re: Password protected access to menu. Advice ?

And use clausule WHEN in buttons ?
by cnavarro
Mon May 08, 2017 12:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Password protected access to menu. Advice ?
Replies: 25
Views: 3604

Password protected access to menu. Advice ?

Hello, For my online soccer member program, I want to have a password protection for access level. ex. There are 5 levels (Admin, Headmember, Submember, trainer, player) I have a loop that builds btnbmp's for each team (see right) Team are in a database. Each button will give a scooped team with pla...
by Marc Venken
Mon May 08, 2017 10:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Password protected access to menu. Advice ?
Replies: 25
Views: 3604

Re: Proposal .. 'just not xBase any more'

... healthcare group, after a laptop computer was stolen from the billing department of their Bloomington, Indiana headquarters. The laptop was protected by a password, but it was not encrypted and contained sensitive data pertaining to more than 200,000 patients. Most victims affected had their ...
by Rick Lipkin
Wed Mar 08, 2017 2:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Proposal .. 'just not xBase any more'
Replies: 9
Views: 5774

Re: Validar respuesta desde un WEBSERVICE

... TDUP = Existen Token Activo. TBLOQ = Otro Problema. RESPUESTAS Token: TOKEN If I do a xbrowse( oXml ) I Get Num - Data - Value 1 cHeader <Protected> 2 nError 0 3 nLine 1 4 nNodeCount 0 5 nStatus 1 6 oErrorNode 7 oIterator <Protected> 8 oRoot Any help will be appreciated
by Adolfo
Wed Jan 25, 2017 2:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Validar respuesta desde un WEBSERVICE
Replies: 6
Views: 2542

Re: FWH 16.12 : Display Seek values in Header Search Bar

... and lGetBar matters, even if the intent enable one and not the other. i.e. the following code may look correct but it will result in the internal protected nBarHdr value set to 0, not 2 as lSeekBar := .T. implies. If the second lGetBar is set to .t. you get a GetBar not a SeekBar WITH OBJECT oBrw ...
by rhlawek
Thu Dec 29, 2016 8:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.12 : Display Seek values in Header Search Bar
Replies: 31
Views: 9128

Re: New FTDN April/Abril 2016 (FWH 16.04)

... Insert Table http://s32.postimg.org/80l93usxx/0034.png SuperIndice, SubIndice and text protected http://s32.postimg.org/802vkvzet/0035.png
by cnavarro
Thu May 12, 2016 8:03 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2016 (FWH 16.04)
Replies: 8
Views: 7731
PreviousNext

Return to advanced search