掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
カレントレコードの並べ替えについて (ID:113785)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
たしかリストボックスは先頭の値からソートキーとして扱うはずだから、 type some i_code as long s_name as string i_Key as long end type private x() as some ってのに格納されているとすれば、 List1のSorted(たしか)プロパティをTrueにして、 with List1 for i=LBound(x) to UBound(x) .additem x(i).i_Key list1.itemdata(.newindex)=i next end with あとは、 for i=0 to list1.listcount-1 debug.? x(.itemdata(i)).s_name next …動く保障はないけど、大体こんな感じ。
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2020 Takeshi Okamoto All Rights Reserved.