Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
mcs  
#1 Posted : Monday, February 11, 2019 2:24:26 PM(UTC)
mcs

Rank: Newbie

Groups: Registered
Joined: 11/21/2018(UTC)
Posts: 6
Location: Weissach

Hello,
is the extra sample "MultiSelect DropDown Editor" also existing for igrid.net 6.0
I need drop downs where a user can select items via checkbox.
Or can i use the existing version of MultiSelect DropDown Editor also in iGrid.net 6.0 - and how?!

best regards
Marcus
Igor/10Tec  
#2 Posted : Monday, February 11, 2019 4:01:15 PM(UTC)
Igor/10Tec

Rank: Administration

Groups: Administrators, Forum Moderator
Joined: 1/17/2011(UTC)
Posts: 1,053

Thanks: 14 times
Was thanked: 137 time(s) in 137 post(s)
The iGMultiSelectDropDownEditor class from that extra sample can be used with iGrid.NET 6.0. All you need to do is to add the following implementation of the new IiGDropDownControl.SetTextRenderingHint method from iGrid v6 inside the iGMultiSelectDropDownEditor class:

Code:
Public Sub SetTextRenderingHint(textRenderingHint As Drawing.Text.TextRenderingHint) Implements IiGDropDownControl.SetTextRenderingHint
    fGridList.TextRenderingHint = textRenderingHint
End Sub

Edited by user Monday, February 11, 2019 4:02:20 PM(UTC)  | Reason: Not specified

mcs  
#3 Posted : Friday, February 22, 2019 1:40:43 PM(UTC)
mcs

Rank: Newbie

Groups: Registered
Joined: 11/21/2018(UTC)
Posts: 6
Location: Weissach

If i do so i got 2 errors in the code.
see below

do i have to import references?
I just imported the iGMultiSelectDropDownEditor.vb

a.PNG
Igor/10Tec  
#4 Posted : Friday, February 22, 2019 3:42:18 PM(UTC)
Igor/10Tec

Rank: Administration

Groups: Administrators, Forum Moderator
Joined: 1/17/2011(UTC)
Posts: 1,053

Thanks: 14 times
Was thanked: 137 time(s) in 137 post(s)
I checked this, this works on my pc.

What error do you get when you compile you project?
mcs  
#5 Posted : Monday, February 25, 2019 7:01:07 AM(UTC)
mcs

Rank: Newbie

Groups: Registered
Joined: 11/21/2018(UTC)
Posts: 6
Location: Weissach

Do i need to import any other class?

I just imported the iGMultiSelectDropDownEditor.vb and added the method you wrote me.

Error.PNG
Igor/10Tec  
#6 Posted : Monday, February 25, 2019 3:12:56 PM(UTC)
Igor/10Tec

Rank: Administration

Groups: Administrators, Forum Moderator
Joined: 1/17/2011(UTC)
Posts: 1,053

Thanks: 14 times
Was thanked: 137 time(s) in 137 post(s)
No need to import something special.

And look at the error list. The compiler does not find not only SetTextRenderingHint, but also the GetDropDownControl method. Your copy of the class looks corrupted.

Can you send us the full source code for the further consideration? Before packing the solution, please, remove the bin and obj subfolders with executable contents.
Users browsing this topic
Similar Topics
MultiSelect DropDown Editor for iGrid.net 6.0 from china (WinForms Grid Questions and Issues)
by hlm750908 3/6/2019 3:51:49 AM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.