on 01-25-2008 7:03 AM
Hi experts
can it be possble to call explicitly WdDoModify
method from wdDoInit(); If yes then kindly tell me how to call it
I have called like this
wdDoModifyView(wdThis,wdContext,IWDView IPrivateStartView,true);
I dont know what to write instead of IWDView as its being displayed IWDView can not be resolved .
Regards
Abhay
Hi
No of elements to be added are not known at design time . thats why i want to call wddomodify explicitly in eventhandker of button , but i am not sure how call it . please forward me calling code
Regards
Abhay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
wdDoModifyView() would be called each time an action is performed and you need not call it explicitly.
If you want to perform some action based on the click of the button then create a context of type boolean and set it to true on the action attached to the button.
Now in wdDoModifyView() just check the value of the context to be true and perform your operation.
Regards,
Murtuza
hi Ayyapparaj
My requirement is like, I want to craete button ,textview and actions to attach them to UI , after clicking an existing button , so in the eventhandler i want to explicitly call it .
Regards
Abhay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You wont be able to call it.
If the requirement is to assign some values to any UIElement make use of context binding.....
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can directly call it Wddomodify(Wdevent); as you call the normal functions.
As this is a life cycle method im not sure that we can call from Wdinit() method;But we can call after the init method in any function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.