[C\C++ 11 - win32] - how change the get menus system item MENUINFO structure?
i have these code for change the menu system item MENUINFO structure:
MENUINFO mnInfo;
mnInfo.cbSize=sizeof(MENUINFO);
mnInfo.fMask=MIM_STYLE;
if(systmenu==false)
GetMenuInfo(GetMenu(MainHWND),&mnInfo);
else
GetMenuInfo(GetSystemMenu(MainHWND,false),&mnInfo);
mnInfo.cbSize=sizeof(MENUINFO);
mnInfo.fMask=MIM_STYLE;
mnInfo.dwStyle=MNS_NOTIFYBYPOS;
if(systmenu==false)
SetMenuInfo(GetMenu(MainHWND),&mnInfo);
else
SetMenuInfo(GetSystemMenu(MainHWND,false),&mnInfo);
MessageBox(NULL,to_string(GetLastError()).c_str(),"erro", MB_OK);
but the message box give me 87: "The parameter is incorrect."
what i'm doing wrong?
(the menu system item is added without problems. my problem is changing it for i use the WM_MENUCOMMAND message)
with more work and tests i resolve it ;)
else if(GetMenuState((HMENU)lParam,LOWORD(wParam),MF_BYCOMMAND)==0xFFFFFFFF && Last_Menu_ID != -1 )
i'm testing if the menu item is valid or not and test if the Last_Menu_ID is diferent than -1 ;)
heres then menu code message:
//for get the menu click event
//i'm using menu notifications
case WM_MENUCOMMAND:
MENUITEMINFO menuInfo;
menuInfo.cbSize = sizeof(MENUITEMINFO);
menuInfo.fMask=MIIM_DATA;
if(GetMenuItemInfo((HMENU)lParam,(UINT) wParam, true, &menuInfo )!=0)
Menu *mMenu = (Menu *) menuInfo.dwItemData;
if(mMenu!=NULL)
mMenu->Click();
menuhandle=NULL;
break;
//when the mouse move, enter, leave and leave the menu
case WM_MENUSELECT:
static int Last_Menu_ID = -1;
if(((HIWORD(wParam) & MF_HILITE) || (HIWORD(wParam) & MF_MOUSESELECT)) && GetMenuState((HMENU)lParam,LOWORD(wParam),MF_BYCOMMAND)!=0xFFFFFFFF)
//mouse leave the previous menu item
if(GetMenuState((HMENU)lParam,Last_Menu_ID,MF_BYCOMMAND)!=0xFFFFFFFF)
MENUITEMINFO menuInfo;
menuInfo.cbSize = sizeof(MENUITEMINFO);
menuInfo.fMask=MIIM_DATA;
GetMenuItemInfo((HMENU)lParam,Last_Menu_ID, FALSE, &menuInfo );
Menu *mMenu = (Menu *) menuInfo.dwItemData;
if (mMenu!=NULL)
mMenu->Leave();
//Mouse Enter on actual menu item
MENUITEMINFO menuInfo1;
menuInfo1.cbSize = sizeof(MENUITEMINFO);
menuInfo1.fMask=MIIM_DATA;
GetMenuItemInfo((HMENU)lParam,LOWORD(wParam), FALSE, &menuInfo1 );
Menu *mMenu = (Menu *) menuInfo1.dwItemData;
if (mMenu!=NULL)
mMenu->Enter();
Last_Menu_ID = LOWORD(wParam);
//testing if the menu item is valid and the Last_Menu_ID isn't -1
else if(GetMenuState((HMENU)lParam,LOWORD(wParam),MF_BYCOMMAND)==0xFFFFFFFF && Last_Menu_ID != -1 )
//mouse live the menu
MENUITEMINFO menuInfo;
menuInfo.cbSize = sizeof(MENUITEMINFO);
menuInfo.fMask=MIIM_DATA;
GetMenuItemInfo(menuhandle,Last_Menu_ID, FALSE, &menuInfo );
Menu *mMenu = (Menu *) menuInfo.dwItemData;
if (mMenu!=NULL)
mMenu->Leave();
Last_Menu_ID = -1;
return DefWindowProc(HandleWindow, msg, wParam, lParam);
break;
//the popup menu is open
//so i can get the menu handle
case WM_INITMENUPOPUP:
menuhandle=(HMENU)wParam;
return DefWindowProc(HandleWindow, msg, wParam, lParam);
break;
//some menus items are on system menu control
case WM_SYSCOMMAND:
//testing if the menu handle isn't null and if the menu item is valid
if (menuhandle!=NULL && GetMenuState(menuhandle,wParam,MF_BYCOMMAND)!=0xFFFFFFFF )
MENUITEMINFO menuInfo;
menuInfo.cbSize = sizeof(MENUITEMINFO);
menuInfo.fMask=MIIM_DATA;
GetMenuItemInfo(menuhandle,(UINT) wParam, FALSE, &menuInfo );
Menu *mMenu = (Menu *) menuInfo.dwItemData;
if (mMenu!=NULL)
mMenu->Click();
menuhandle=NULL;
return DefWindowProc(HandleWindow, msg, wParam, lParam);
break;
if the readers have problems with code, please tell me ;)
thanks for all Igor
Similar Messages
-
Please provide me how change the Materil using BAPI...?
Hi Guru's,
could please provide me how change the Materil using BAPI...
please provide the BPAI name and step by step process...
if ou provide any program logic that would be helpfull to me...
thanks in advance
Srinivas....Hi,
THis is code .
*& Report Zs_MATMAS_BAPI
*& This program demonstrates how easy it is to create Material master
*& data using BAPI_MATERIAL_SAVEDATA
*& The program also generates a report post-execution displaying errors
*& as well as successful uploads
REPORT Zs_MATMAS_BAPI.
TABLES
FLAGS *
DATA: F_STOP. " Flag used to stop processing
DATA DECLARATIONS *
DATA : V_EMPTY TYPE I, " No. of empty records
V_TOTAL TYPE I. " Total no. of records.
STRUCTURES & INTERNAL TABLES
*BAPI structures
DATA: BAPI_HEAD LIKE BAPIMATHEAD, " Header Segment with Control Information
BAPI_MAKT LIKE BAPI_MAKT, " Material Description
BAPI_MARA1 LIKE BAPI_MARA, " Client Data
BAPI_MARAX LIKE BAPI_MARAX, " Checkbox Structure for BAPI_MARA
BAPI_MARC1 LIKE BAPI_MARC, " Plant View
BAPI_MARCX LIKE BAPI_MARCX, " Checkbox Structure for BAPI_MARC
BAPI_MBEW1 LIKE BAPI_MBEW, " Accounting View
BAPI_MBEWX LIKE BAPI_MBEWX, " Checkbox Structure for BAPI_MBEW
BAPI_RETURN LIKE BAPIRET2. " Return Parameter
*--- Internal table to hold excel file data
DATA: IT_INTERN TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
*--- Internal table to hold Matetrial descriptions
DATA: BEGIN OF IT_MAKT OCCURS 100.
INCLUDE STRUCTURE BAPI_MAKT.
DATA: END OF IT_MAKT.
*--- Internal to hold the records in the text file
DATA : BEGIN OF IT_DATA OCCURS 100,
WERKS(4), " Plant
MTART(4), " Material type
MATNR(18), " Material number
MATKL(9) , " Material group
MBRSH(1), " Industry sector
MEINS(3), " Base unit of measure
GEWEI(3), " Weight Unit
SPART(2), " Division
EKGRP(3), " Purchasing group
VPRSV(1), " Price control indicator
STPRS(12), " Standard price
PEINH(3), " Price unit
SPRAS(2), " Language key
MAKTX(40), " Material description
END OF IT_DATA.
SELECTION SCREEN. *
SELECTION-SCREEN BEGIN OF BLOCK SCR1 WITH FRAME TITLE TEXT-111.
PARAMETER : P_FILE TYPE RLGRAP-FILENAME OBLIGATORY DEFAULT " Input File
'C:\Material_master.XLS'.
PARAMETER : P_MAX(4) OBLIGATORY DEFAULT '100'. " no.of recs in a session
PARAMETERS: P_HEADER TYPE I DEFAULT 0. " Header Lines
PARAMETERS: P_BEGCOL TYPE I DEFAULT 1 NO-DISPLAY,
P_BEGROW TYPE I DEFAULT 1 NO-DISPLAY,
P_ENDCOL TYPE I DEFAULT 100 NO-DISPLAY,
P_ENDROW TYPE I DEFAULT 32000 NO-DISPLAY.
SELECTION-SCREEN END OF BLOCK SCR1.
AT SELECTION-SCREEN *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
*--- Validating file
PERFORM VALIDATE_FILE USING P_FILE.
START-OF-SELECTION
START-OF-SELECTION.
*--- Perform to convert the Excel data into an internal table
PERFORM CONVERT_XLS_ITAB.
IF NOT IT_DATA[] IS INITIAL.
*--- Perform to delete Header lines
PERFORM DELETE_HEADER_EMPTY_RECS.
ENDIF.
END OF SELECTION. *
END-OF-SELECTION.
*--- Perform to upload Material Master data
PERFORM UPLOAD_MATMAS.
Form : validate_input_file
Description : To provide F4 help for file if read from PC
FORM VALIDATE_FILE USING F_FILE TYPE RLGRAP-FILENAME.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
CHANGING
FILE_NAME = F_FILE
EXCEPTIONS
MASK_TOO_LONG = 1
OTHERS = 2.
IF SY-SUBRC 0.
MESSAGE S010(ZLKPL_MSGCLASS). " 'Error in getting filename'.
ENDIF.
ENDFORM. " validate_input_file
*& Form CONVER_XLS_ITAB
text
FORM CONVERT_XLS_ITAB.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = P_FILE
I_BEGIN_COL = P_BEGCOL
I_BEGIN_ROW = P_BEGROW
I_END_COL = P_ENDCOL
I_END_ROW = P_ENDROW
TABLES
INTERN = IT_INTERN.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*--- Perform to move the data into an internal data
PERFORM MOVE_DATA.
ENDFORM. " CONVERT_XLS_ITAB
*& Form MOVE_DATA
text
FORM MOVE_DATA.
DATA : LV_INDEX TYPE I.
FIELD-SYMBOLS <FS>.
*--- Sorting the internal table
SORT IT_INTERN BY ROW COL.
CLEAR IT_INTERN.
LOOP AT IT_INTERN.
MOVE IT_INTERN-COL TO LV_INDEX.
*--- Assigning the each record to an internal table row
ASSIGN COMPONENT LV_INDEX OF STRUCTURE IT_DATA TO <FS>.
*--- Asigning the field value to a field symbol
MOVE IT_INTERN-VALUE TO <FS>.
AT END OF ROW.
APPEND IT_DATA.
CLEAR IT_DATA.
ENDAT.
ENDLOOP.
ENDFORM. " MOVE_DATA
*& Form DELETE_HEADER_EMPTY_RECS
To delete the Header and empty records
FORM DELETE_HEADER_EMPTY_RECS.
DATA: LV_TABIX LIKE SY-TABIX.
IF NOT P_HEADER IS INITIAL.
LOOP AT IT_DATA.
IF P_HEADER > 0 AND NOT IT_DATA IS INITIAL.
DELETE IT_DATA FROM 1 TO P_HEADER.
P_HEADER = 0.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
CLEAR IT_DATA.
*--- To delete the empty lines from internal table
LOOP AT IT_DATA.
LV_TABIX = SY-TABIX.
IF IT_DATA IS INITIAL.
V_EMPTY = V_EMPTY + 1.
DELETE IT_DATA INDEX LV_TABIX..
ENDIF.
ENDLOOP.
CLEAR IT_DATA.
*--- Total no of recs in file
DESCRIBE TABLE IT_DATA LINES V_TOTAL.
IF V_TOTAL = 0.
MESSAGE I013(ZLKPL_MSGCLASS). " No records in the file
F_STOP = 'X'.
STOP.
ENDIF.
ENDFORM. " DELETE_HEADER_EMPTY_RECS
*& Form UPLOAD_MATMAS
to upload Material Master data
FORM UPLOAD_MATMAS .
LOOP AT IT_DATA.
Header
UNPACK IT_DATA-MATNR TO IT_DATA-MATNR.
BAPI_HEAD-MATERIAL = IT_DATA-MATNR.
BAPI_HEAD-IND_SECTOR = IT_DATA-MBRSH.
BAPI_HEAD-MATL_TYPE = IT_DATA-MTART.
BAPI_HEAD-BASIC_VIEW = 'X'.
BAPI_HEAD-PURCHASE_VIEW = 'X'.
BAPI_HEAD-ACCOUNT_VIEW = 'X'.
Material Description
REFRESH IT_MAKT.
IT_MAKT-LANGU = IT_DATA-SPRAS.
IT_MAKT-MATL_DESC = IT_DATA-MAKTX.
APPEND IT_MAKT.
Client Data - Basic
BAPI_MARA1-MATL_GROUP = IT_DATA-MATKL.
BAPI_MARA1-BASE_UOM = IT_DATA-MEINS.
BAPI_MARA1-UNIT_OF_WT = IT_DATA-GEWEI.
BAPI_MARA1-DIVISION = IT_DATA-SPART.
BAPI_MARAX-MATL_GROUP = 'X'.
BAPI_MARAX-BASE_UOM = 'X'.
BAPI_MARAX-UNIT_OF_WT = 'X'.
BAPI_MARAX-DIVISION = 'X'.
Plant - Purchasing
BAPI_MARC1-PLANT = IT_DATA-WERKS.
BAPI_MARC1-PUR_GROUP = IT_DATA-EKGRP.
BAPI_MARCX-PLANT = IT_DATA-WERKS.
BAPI_MARCX-PUR_GROUP = 'X'.
Accounting
BAPI_MBEW1-VAL_AREA = IT_DATA-WERKS.
BAPI_MBEW1-PRICE_CTRL = IT_DATA-VPRSV.
BAPI_MBEW1-STD_PRICE = IT_DATA-STPRS.
BAPI_MBEW1-PRICE_UNIT = IT_DATA-PEINH.
BAPI_MBEWX-VAL_AREA = IT_DATA-WERKS.
BAPI_MBEWX-PRICE_CTRL = 'X'.
BAPI_MBEWX-STD_PRICE = 'X'.
BAPI_MBEWX-PRICE_UNIT = 'X'.
*--- BAPI to create material
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
HEADDATA = BAPI_HEAD
CLIENTDATA = BAPI_MARA1
CLIENTDATAX = BAPI_MARAX
PLANTDATA = BAPI_MARC1
PLANTDATAX = BAPI_MARCX
FORECASTPARAMETERS =
FORECASTPARAMETERSX =
PLANNINGDATA =
PLANNINGDATAX =
STORAGELOCATIONDATA =
STORAGELOCATIONDATAX =
VALUATIONDATA = BAPI_MBEW1
VALUATIONDATAX = BAPI_MBEWX
WAREHOUSENUMBERDATA =
WAREHOUSENUMBERDATAX =
SALESDATA = BAPI_MVKE1
SALESDATAX = BAPI_MVKEX
STORAGETYPEDATA =
STORAGETYPEDATAX =
IMPORTING
RETURN = BAPI_RETURN
TABLES
MATERIALDESCRIPTION = IT_MAKT
UNITSOFMEASURE =
UNITSOFMEASUREX =
INTERNATIONALARTNOS =
MATERIALLONGTEXT =
TAXCLASSIFICATIONS =
RETURNMESSAGES =
PRTDATA =
PRTDATAX =
EXTENSIONIN =
EXTENSIONINX =
IF BAPI_RETURN-TYPE = 'E'.
WRITE:/ 'Error:' ,BAPI_RETURN-MESSAGE ,'for material:' ,IT_DATA-MATNR.
ELSEIF BAPI_RETURN-TYPE = 'S'.
WRITE: 'Successfully created material' ,IT_DATA-MATNR.
ENDIF.
ENDLOOP.
ENDFORM. " UPLOAD_MATMAS
Thanks
Sarada -
How change the graph dynamically based on pivot table.
Hi,
My Report having pivot table and bar chart. Organization Name column set as pivot table prompts in pivot table.So Organization Name is appear as dropdown list.If i choose the diffrent Organization Names the pivot table data is according to the Organization Name but no changes in chart.How change the Graph dynamically based on pivot table.
Please help on this.ok.I created pivot table with 4 columns and created chart using pivot table chart options but all 4 columns are displaying chart.But I need only 2 column in chart ..unable to edit the only chart in pivot table.Please help on this.Thank you..
-
I want to be able to change the sort order of items I have already searched for in the search box. I want to be able to hit the down arrow key and see my previous searches in the order of last search showing first. At the moment I have no idea how it is sorting and it's very annoying to have to re-type a query I typed 5 minutes earlier but because I typed in another 10 since it is lost somewhere in the list. Can this be done, I have googled but did not find the topic anywhere. Just to clarify, I DO NOT MEAN the order of search engines (which is all that comes up in google), I mean the actual text typed in which has been saved in the drop down list.
ThanksThe "form fill" feature uses a "frecency" algorithm, frequency + recency, similar to the address bar autocomplete list.
I found an extension that seems relevant, but the reviews are old so I'm not sure it's still working: [https://addons.mozilla.org/en-us/firefox/addon/searchbar-autocomplete-order/ Searchbar Autocomplete Order].
But... is the autocomplete not working? I would expect that typing a couple characters of the earlier query would filter the list so you can easily select it? Or is the problem that the list doesn't remember enough searches for that? -
How change the name of iPod?
How change the name of iPod?
When you plug the iPod into iTunes you should see it along the sidebar (the list Library, Store, Shared, Genius and Playlists). Just click on the iPod in that list and it should allow you to edit it
-
How change the report graph color in teststand
how change the report graph color in teststand?
Michael,
You might also be able to customize the style sheet associated with the report. The TestStand Help provides some information about how to customize ATML or XML style sheets to change report colors based on the status of test steps.
Please take a look at the following topics; are these helpful?
ATML Report Style Sheets
Modifying Cell Background Color Based on Step Status in ATML Test Results 5.0 Reports
XML Report Style Sheets
Modifying Cell Background Color Based on Step Status in XML Reports
Tom
TestStand Documentation -
How change the wallpaper/background with a command line ?
Hi people,
did someone know how change the wallpaper with a command line ?
thx a lotHi,
I think this can be done with PowerShell. We could create a function to set wallpaper:
Function Set-WallPaper($Value)
Set-ItemProperty -path 'HKCU:\Control Panel\Desktop\' -name wallpaper -value $value
rundll32.exe user32.dll, UpdatePerUserSystemParameters
Open PowerShell; paste the function above in it to make this function work.
Now, if you want to change some wallpaper, you could type the following text:
Set-WallPaper -value "the path of you wallpaper"
If you are interested, I would like to share the following article with you for your reference:
Hey, Scripting Guy! How Can I Hide
My Desktop Wallpaper?
If you need some help on writing this script, you can also post your question to The Official Scripting Guys Forum:
The
Official Scripting Guys Forum
Hope this helps. Thanks.
Alex Zhao
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
How to change the IOS operating system
how do you change the IOS operating system from 2 to a more modern in my ipod touch?
It is very simple, see here: http://www.apple.com/ios/.
Updating is easy.
Just connect your device to your Mac or PC and follow the onscreen instructions in iTunes. -
HT204266 how change the app store associated with my apple id on my ipad?
I move from canada to australia how change the app store associated with my apple id on my ipad?
I have try to set evry thing with my new australian data but it told me the it`s not possible...
What I can do?
Thanks and Regardsyou could go to settings, then itunes and app stores. you should see an option caleed apple id with your apple id to the side of it. click on it and select the option view apple id. you will have to type in your password. then you will see the details of your acoount. next, select the option called country/region. you will be able to select australia from the list of stores. you willl then change your billling adress (you should be directed). Fill in your adress in australia with your zip code and you will be done.
-
How change the moving average prices?If run costing done In the MR21 system
hI,
How change the moving average prices?If run costing done In the MR21 system notallowing the changing the prices?
Regards
ChannaHi
Showingerror
A current or future standard price exists for material 300000007
Message no. CKPRCH025
Diagnosis
A current or future cost estimate exists.
Procedure
You can set the price of a marked cost estimate through the radio button 'Default Planned Prices' and release it by saving.
Please what is the process changing moving aveerage prices -
Ho to change the old Logical System in the new Client?
Hi All,
after a Client copy, I've to change the old Logical System in all the relevant SAP tables in the new client.
In the Co tables too, such as CSKS.
Could anyone tell me hoq to do it?
Thanks
G.RossiHi,
So the only solution would be to rename the SID of one portal.-> Yes,Rename the SID of on portal
Can this be done ? -> Yes,It can be done
How is it done ? -> Use Export/Import method.Export the database of one SID. Import the same with different SID.
Thanks and Regards, -
I just purchased two new itouches, how do I get previous purchase items on them, I just purchased two new itouches, how do I get previous purchase items on them
thank you. I didn't write what I meant correctly. I own a first gen itouch whick I've had for quite a while and over the years I've purchased all kinds of things from music to short films........how do I get all of those purchases on to my two new current gen itouches? I was able to find and see all of my purchases since 2008 but don't know how to get it and download all of it. Can you help me?
-
An app requires a later operating system but iTunes indicates phone has latest operating system when I sync with the computer. How do I get latest system if iTunes says I have the latest?
If you have a Verizon iPhone 4, the current version of iOS is 4.2.10. You can not install anything higher at this point. The next release of iOS will most likely be iOS 5.
-
Change the color of text item after execute query
Dear friends
I would like to know how can I make a tabular form like grid and chang the color of text item when (for exp in emp table) the value of sal column between 2000$ and 4000$.
I used the SE_IEM_PROPERTY command but it change all of the text items of sal column.
please help me
thanks a lotHighlight the Existing Record in Forms
(Compatible with 4.x, 5.x, 6.x & 9i)
Step 1: Create a New Visual Attribute(BLUE_VA) (Color of highlighted record)
Font â Arial
Size â 8
Style â Plain
Font width - Normal
Font Weight - Bold
Foreground Color â Black
Background Color â Blue
Fill Pattern â Transparent
Step 2: Create another Visual Attribute (WHITE_VA) (Default Color of the record)
Font â Arial
Size â 8
Style â Plain
Font width - Normal
Font Weight - Bold
Foreground Color â Black
Background Color â White
Fill Pattern â Transparent
Step 3: Add Following code to Block-level Trigger WHEN-NEW-RECORD- INSTANCE, POST-BLOCK
(Add to the block, which has these records)
-- Following code will only highlight an item
DISPLAY_ITEM(<block_name>.<item_name>,'BLUE_VA');
-- Following code will highlight complete Record (ref: DISPLAY_ITEM example)
DECLARE
cur_itm VARCHAR2(80);
cur_block VARCHAR2(80) := :System.Cursor_Block;
BEGIN
cur_itm := Get_Block_Property( cur_block, FIRST_ITEM );
WHILE ( cur_itm IS NOT NULL ) LOOP
cur_itm := cur_block||'.'||cur_itm;
Display_Item( cur_itm, 'BLUE_VA');
cur_itm := Get_Item_Property( cur_itm, NEXTITEM );
END LOOP;
END;
Step 4: Add Following code to Block-level Trigger PRE-RECORD, PRE-BLOCK
(Add to the block, which has these records)
-- Following code will only highlight an item
DISPLAY_ITEM(<block_name>.<item_name>,'WHITE_VA');
-- Following code will highlight complete Record (ref: DISPLAY_ITEM example)
DECLARE
cur_itm VARCHAR2(80);
cur_block VARCHAR2(80) := :System.Cursor_Block;
BEGIN
cur_itm := Get_Block_Property( cur_block, FIRST_ITEM );
WHILE ( cur_itm IS NOT NULL ) LOOP
cur_itm := cur_block||'.'||cur_itm;
Display_Item( cur_itm, 'WHITE_VA');
cur_itm := Get_Item_Property( cur_itm, NEXTITEM );
END LOOP;
END;
I am using the above code in one of my forms and I so far haven't seen any problem -
Changing the position of graphic item
Hi all,
I am using graphical items in my form canvas. I want to change the position of these items in runtime.
can any one suggest me how to change the positions at run time.?.....
Thanks,
Pavan.Hello,
This question has been aked so many times, and the answer is always the same : NO
There is no available buit-in to deal with graphical objects located on the canvas. All you can do is to drop them on a small stacked-canvas, then move this stacked-canvas.
Francois
Maybe you are looking for
-
Can I use my Time Capsule with a point to point antenna?
We have a building about 400 feet away that I would like to install wireless cameras. Can I use a point to point antenna with our time capsule or is there a better option?
-
Hi Experts, I am trying to add a field (NAME1) on the Equipment details screen under work orders in work manager 5.3 application. I have performed the following steps, but I am getting an error while connecting to the application. 1) Create extension
-
Shared File Missing from Time Capsule
This morning all of my shared files are missing. There used to be two folders in the time capsule file and now there is only one "DATA" which is where our workstation backups go. The other one was a Shared File where we put all of the files we shar
-
Open a txt file in a real time PXI target
I want to open and read a txt file when targeting to a PXI, running a real time OS. The file is saved in a specific directory of the real time machine. When I run the typical Labview (version 7.1) examples there is alwasys an error message.
-
FAR (AR01) vs GL (GR55)
Hi Guru My asset register balance AR01 is not matching with GR55 (GL balances report), there is some differences lying for 2 asset class. (ABST2) FAR APC value< GR55 (GL balance) Example:- APC= 785,395.07 =AR01 APC= 840,695.24 =GR55 Point2:- But a