OS2.org Site Index - Feedback - Impressum
Sprachauswahl / Choose your Language News Software Hardware Projekte Forum Tipps Links Verschiedenes
Editorial Diskussion HelpDesk Umfrage
[Forum]
in nach (Erweiterte Suche)
[Forum]
( Archiv ) ( Neues Thema )
06.08.2000
CLASSDEFAULTVIEW --- ein "neuer" Setup-String (von: Andreas Schnellbacher, 15:39:23) « ^ »
Fuer neue Objekte kann man die Zuordnung aendern:

aus REXX Tips und Tricks 3.0 (rxtt30.zip)
-----------------------------------------

Beginning with WARP 4 Fixpack #1 there is a new keyword to set the
default view for a class of files. The syntax for this keyword is:

Class: WPDataFile (?)

Key name: CLASSDEFAULTVIEW

Value: view_name

Description:
"view name" is the name of the view as it appears in the'context menu
for the object. For convenience, spaces or control characters such as
carriage returns, line feeds, or tabs may be omitted (or replaced with
a blank).

Note that this changes the default view for new objects - not for
existing objects!

For example, to change the default view for new .FLC files to Video
Editor you may use the following code:


/* sample code to change the default view for new .FLC files */

call rxFuncAdd "SysLoadFuncs", "REXXUTIL", "SysLoadFuncs"
call SysLoadFuncs

say SysSetObjectData( 'C:OS2APPSKLONDIKE.FLC',,
'CLASSDEFAULTVIEW="Video Editor"' )

To get another example for using this feature, see the file
OS2SETDEFV.CMD

[ Leser: 71 ]

Datum Thema
07.01.2017 *

*

Name: * eMail: Benachrichtigung

Mit * markierte Felder müssen ausgefüllt werden !

( Zeige alle Einträge ) ( Zur Startübersicht )
Thema von: Leser Datum Zeit
 Objektklasse mit REXX?
Andreas Schnellbacher13328.07.200018:03
 z.B. mit zwei Funktionen
GA12129.07.200013:51
 Re: z.B. mit zwei Funktionen
Andreas Schnellbacher10729.07.200019:11
 Zur Subklasse WPDataFile
GA10130.07.200014:50
 Ein Beispiel zu SysSetObjectData
GA9730.07.200018:55
 Ändern mit SysCreateObject
GA9031.07.200014:33
 Klasse mit SysPutEA aendern?
Andreas Schnellbacher8501.08.200013:27
 Nochmals: Mit SysCreateObject Paramter ändern!
GA9102.08.200008:40
 Re: Nochmals: Mit SysCreateObject Paramter ändern!
Andreas Schnellbacher7106.08.200015:37
 CLASSDEFAULTVIEW --- ein "neuer" Setup-String
Andreas Schnellbacher7106.08.200015:39
 Weitere Annahmen
GA6806.08.200016:33
 Weiterer Hinweis(I)
GA6406.08.200016:43
 Eine REXX-Routine mit der UDATE-Option mit...
GA6806.08.200016:58
 Protokoll der Routine EADUMP
GA6708.08.200011:35
 Extended Attributes mit REXX lesen und setzen
GA5703.09.200017:47
 Objektklasse A E N D E R N geht nicht mit SysCreateObjekt!
Andreas Schnellbacher5403.09.200019:29
 Re: Objektklasse A E N D E R N geht nicht mit SysCreateObjekt!
Peter W.5211.09.200009:50
 Mit SysCreateObjekt nur bestimmte Argumente..
GA4711.09.200012:24
 Re: Mit SysCreateObjekt nur bestimmte Argumente..
Sebastian Wittmeier4711.09.200017:35
 Re:
Andreas Schnellbacher4113.09.200020:37
 So geht's
Andreas Schnellbacher3406.05.200100:52
 Ja, wunderbar, Andreas!
GA2906.05.200114:38
 Re: Ja, wunderbar, Andreas!
Andreas Schnellbacher2506.05.200118:07


php.net OpenIT © 1998-2017 by WebTeam OS2.org