Set_Item_Property('work_block. Set_Item_Property('work_block.on_time', BACKGROUND_COLOR, 'r191g223b191') ĮLSIF :work_bLock.current_garage = 9002 THEN You have seen that the Pre- and Post- navigation triggers fire during navigation, and when they fail the internal cursor attempts to return to the current item. IF :work_bLock.current_garage = 9006 THEN Here is my code, I am putting it in when_new_record_instance of the work_block: I need to break down the block by color so the user can distinguish between the different garages, and the start and end time. Then in your actual DATA block you can reference the items in the dummy block to pre-populate the items. Populate it with your default record as part of the WHEN-NEW-FORM-INSTANCE trigger. The problem is, everytime I move down the records, instead of keeping the previous garage color, and highlight the new garage on_time with a new color, the whole on_time colomun will be set to the current garage color. 2 Answers Sorted by: 2 Create a dummy block, one that is invisible to the users. Below example will disable the push button named SAVEBUTTON in CONTROL block. To disable a push button in Oracle Forms. SETITEMPROPERTY('emp.ename', enabled, propertyfalse) 2. I am highlighting the on_time everytime the garage changes. The following example disables a Text Item named ENAME in EMP block. I need to highlight every garage with a different color In short, I list all open work pieces for a certain garage, displaying route, run, on_time, of_time, location grouped by garage, on_time, off_time I have a database block that refreshes using a timer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |