Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
6fd8c658
Commit
6fd8c658
authored
Dec 02, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reference object pulldown menu implemented
parent
6790da7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
73 additions
and
0 deletions
+73
-0
src/wbl/pwrs/src/pwrs_c_menuref.wb_load
src/wbl/pwrs/src/pwrs_c_menuref.wb_load
+73
-0
No files found.
src/wbl/pwrs/src/pwrs_c_menuref.wb_load
0 → 100644
View file @
6fd8c658
! pwrs_c_menuref.wb_load -- Defines the class MenuRef.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
SObject pwrs:Class
!/**
! @Group ClassDefinition
! Definition of a menu item that displays the menu of another object as
! a cascade menu.
!*/
!
Object $MenuRef $ClassDef pwr_eCix_MenuRef
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_SysBody
Attr Flags |= pwr_mClassDef_System
EndBody
Object SysBody $ObjBodyDef 1
Body SysBody
Attr StructName = "MenuRef"
EndBody
!/**
! Button text
!*/
Object ButtonName $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
!/**
! The attribute with this name in the pointed object
! holds the name of the referenced object, which menu
! is displayed as a cascade menu
!*/
Object RefAttribute $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object FilterName $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
Object FilterArguments $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
Object Filter $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object Template $MenuRef
Body SysBody
EndBody
EndObject
EndObject
EndSObject
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment